Procházet zdrojové kódy

"enum class" instead of "enum"

Laszlo Csomor před 6 roky
rodič
revize
bee5538fda
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,