瀏覽代碼

Fix testcase compile failure under gcc 4.6:

google/protobuf/map_test.cc:88:16: error: expected ‘;’ at end of member declaration
google/protobuf/map_test.cc:88:18: error: ‘override’ does not name a type
.
Tres Seaver 11 年之前
父節點
當前提交
4113685cdd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/google/protobuf/map_test.cc

+ 1 - 1
src/google/protobuf/map_test.cc

@@ -85,7 +85,7 @@ class MapImplTest : public ::testing::Test {
     EXPECT_TRUE(map_.empty());
     EXPECT_EQ(0, map_.size());
   }
-  ~MapImplTest() override {}
+  ~MapImplTest() {}
 
   void ExpectSingleElement(int32 key, int32 value) {
     EXPECT_FALSE(map_.empty());