Kaydet (Commit) 6bc63952 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: implicit conversion of literal of type 'const char *' to 'bool'

Change-Id: Ia0c05b93bbb5a399257d0e1ab8670aa95be01fd7
üst ae993046
...@@ -184,7 +184,7 @@ IconThemeSelectorTest::DifferentPreferredThemesAreInequal() ...@@ -184,7 +184,7 @@ IconThemeSelectorTest::DifferentPreferredThemesAreInequal()
vcl::IconThemeSelector s1; vcl::IconThemeSelector s1;
vcl::IconThemeSelector s2; vcl::IconThemeSelector s2;
s1.SetPreferredIconTheme("oxygen"); s1.SetPreferredIconTheme("oxygen");
s2.SetUseHighContrastTheme("katze"); s2.SetUseHighContrastTheme(true);
bool equal = (s1 == s2); bool equal = (s1 == s2);
CPPUNIT_ASSERT_EQUAL_MESSAGE("Different preferred themes are detected as inequal", false, equal); CPPUNIT_ASSERT_EQUAL_MESSAGE("Different preferred themes are detected as inequal", false, equal);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment