Bläddra i källkod

Improve values of ProtocolType enum

Patrick-Christopher Mattulat 2 år sedan
förälder
incheckning
54bc515882
1 ändrade filer med 2 tillägg och 1 borttagningar
  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
   };
 }