Explorar o código

Improve values of ProtocolType enum

Patrick-Christopher Mattulat %!s(int64=2) %!d(string=hai) anos
pai
achega
54bc515882
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      include/ls_std/network/core/ProtocolType.hpp

+ 2 - 1
include/ls_std/network/core/ProtocolType.hpp

@@ -14,7 +14,8 @@ namespace ls::std::network
 {
   enum ProtocolType
   {
-    TCP = 0
+    PROTOCOL_TYPE_NOT_INITIALIZED = 0,
+    PROTOCOL_TYPE_TCP
   };
 }