Browse Source

Use enum class to make enum scoped

Bo Yang 6 years ago
parent
commit
1e77913853
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conformance/binary_json_conformance_suite.cc

+ 1 - 1
conformance/binary_json_conformance_suite.cc

@@ -151,7 +151,7 @@ string tag(uint32_t fieldnum, char wire_type) {
 
 #define UNKNOWN_FIELD 666
 
-enum Packed {
+enum class Packed {
   UNSPECIFIED = 0,
   TRUE = 1,
   FALSE = 2,