diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-06-26 20:52:36 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-06-26 20:52:36 -0500 |
commit | ff5881ace7f91ca998b9722bc17a00fec3166461 (patch) | |
tree | 59735ca18502b16762a083b844a6bddbd1030d16 | |
parent | dda9044eb9740ca995139711cd8318815bf88e2a (diff) | |
download | ayatana-indicator-datetime-ff5881ace7f91ca998b9722bc17a00fec3166461.tar.gz ayatana-indicator-datetime-ff5881ace7f91ca998b9722bc17a00fec3166461.tar.bz2 ayatana-indicator-datetime-ff5881ace7f91ca998b9722bc17a00fec3166461.zip |
fix test-menus.cpp build failure in clang++
-rw-r--r-- | tests/test-menus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-menus.cpp b/tests/test-menus.cpp index b485037..f5f8df2 100644 --- a/tests/test-menus.cpp +++ b/tests/test-menus.cpp @@ -484,7 +484,7 @@ TEST_F(MenuFixture, HelloWorld) EXPECT_EQ(Menu::NUM_PROFILES, m_menus.size()); for (int i=0; i<Menu::NUM_PROFILES; i++) { - EXPECT_TRUE(m_menus[i] != false); + EXPECT_TRUE(m_menus[i].get() != nullptr); EXPECT_TRUE(m_menus[i]->menu_model() != nullptr); EXPECT_EQ(i, m_menus[i]->profile()); } |