Jelajahi Sumber

Improve values of ProtocolType enum

Patrick-Christopher Mattulat 2 tahun lalu
induk
melakukan
54bc515882
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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
   };
 }