瀏覽代碼

Fixed build failure in conformance tests.

Joshua Haberman 5 年之前
父節點
當前提交
d90f3b8b17
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      conformance/text_format_conformance_suite.cc

+ 1 - 2
conformance/text_format_conformance_suite.cc

@@ -259,8 +259,7 @@ void TextFormatConformanceTestSuite::RunSuiteImpl() {
                          "optional_float: 18446744073709551616");
 
   // String literals x {Strings, Bytes}
-  for (const auto& field_type :
-       std::vector<const std::string>{"String", "Bytes"}) {
+  for (const auto& field_type : std::vector<std::string>{"String", "Bytes"}) {
     const std::string field_name =
         field_type == "String" ? "optional_string" : "optional_bytes";
     RunValidTextFormatTest(