Explorar o código

"enum class" instead of "enum"

Laszlo Csomor %!s(int64=6) %!d(string=hai) anos
pai
achega
bee5538fda
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,