瀏覽代碼

Boost::tuple: fix compiler-specifc test.

Kim Kulling 10 年之前
父節點
當前提交
6be8df5fde
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test/unit/utNoBoostTest.cpp

+ 3 - 3
test/unit/utNoBoostTest.cpp

@@ -36,12 +36,12 @@ TEST(NoBoostTest, Tuple) {
     EXPECT_EQ(4U, first.get<1>());
     EXPECT_EQ(4U, first.get<2>());
 
-    boost::tuple<int,float,double,bool,another> second;
+    boost::tuple<int, float, double, bool, another> second;
     bool b = second.get<3>();
-    EXPECT_FALSE(b);
 
-    // check empty tuple, ignore compile warning
+    // check empty tuple
     boost::tuple<> third;
+    third;
 
     // FIXME: Explicit conversion not really required yet
     boost::tuple<float,float,float> last =