Explorar el Código

Improve values of ProtocolType enum

Patrick-Christopher Mattulat hace 2 años
padre
commit
54bc515882
Se han modificado 1 ficheros con 2 adiciones y 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
   };
 }