Pārlūkot izejas kodu

Fixed LogLevel class

- changed type of map key to avoid undefined
behaviour for trait
patrick-mac 4 gadi atpakaļ
vecāks
revīzija
544fe45fd5
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      source/io/logging/LogLevel.hpp

+ 2 - 2
source/io/logging/LogLevel.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-09-04
+ * Changed:         2020-10-02
  *
  * */
 
@@ -30,7 +30,7 @@ namespace ls_std {
 
     private:
 
-      std::unordered_map<ls_std::LogLevelValue, std::string> level {};
+      std::unordered_map<uint8_t , std::string> level {};
       ls_std::LogLevelValue value {};
 
       void _init();