Sfoglia il codice sorgente

Fix namespace renaming issue

Patrick-Christopher Mattulat 13 ore fa
parent
commit
6e9c75bc06

+ 1 - 1
README.md

@@ -35,7 +35,7 @@ A __Date__ class comes with this submodule, which you can use to represent a dat
 #### Features ####
 
 - GNU-like compilers are not supported anymore to focus more in depth on MSVC, Clang, Apple Clang - thus, still supporting the major platforms Linux, macOS and Windows
-- ls::std:: namespace was renamed to ls::standard to avoid clashes with C++-STL.
+- ls::standard:: namespace was renamed to ls::standard to avoid clashes with C++-STL.
 
 #### Improvements ####
 

+ 1 - 1
doc/internal/coding-guidelines.md

@@ -28,4 +28,4 @@ The following naming conventions must be met for code contribution:
 
 The following source code creation guidelines must be followed:
 
-1. In source code (.cpp files) namespaces must not be used throughout the code and must be announced through the __using__ keyword after the imports (e.g. using ls::std::boxing::Integer). The only exception is when the same class name is being used in more than one namespace.
+1. In source code (.cpp files) namespaces must not be used throughout the code and must be announced through the __using__ keyword after the imports (e.g. using ls::standard::boxing::Integer). The only exception is when the same class name is being used in more than one namespace.

+ 2 - 2
test/classes/time/system-time/MockClock.hpp

@@ -16,14 +16,14 @@
 
 namespace test::time
 {
-  class MockClock : public ls::std::time::IClock
+  class MockClock : public ls::standard::time::IClock
   {
     public:
 
       MockClock();
       ~MockClock() noexcept override;
 
-      MOCK_METHOD(bool, setTime, (const ls::std::time::DateParameter &_dateParameter), (override));
+      MOCK_METHOD(bool, setTime, (const ls::standard::time::DateParameter &_dateParameter), (override));
   };
 }