Browse Source

"enum class" instead of "enum"

Laszlo Csomor 6 years ago
parent
commit
bee5538fda
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/google/protobuf/io/io_win32.h

+ 1 - 1
src/google/protobuf/io/io_win32.h

@@ -77,7 +77,7 @@ PROTOBUF_EXPORT int stat(const char* path, struct _stat* buffer);
 PROTOBUF_EXPORT int write(int fd, const void* buffer, size_t size);
 PROTOBUF_EXPORT std::wstring testonly_utf8_to_winpath(const char* path);
 
-enum ExpandWildcardsResult {
+enum class ExpandWildcardsResult {
   kSuccess = 0,
   kErrorNoMatchingFile = 1,
   kErrorInputPathConversion = 2,