Browse Source

Split header and source files for time module

Patrick-Christopher Mattulat 2 years ago
parent
commit
5d694dbc69
2 changed files with 5 additions and 3 deletions
  1. 2 2
      include/ls-std/time/Date.hpp
  2. 3 1
      source/ls-std/time/Date.cpp

+ 2 - 2
include/ls-std/time/Date.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2023-02-03
+ * Changed:         2023-02-04
  *
  * */
 
@@ -21,7 +21,7 @@ namespace ls::std::time
     public:
 
       Date();
-      ~Date() override = default;
+      ~Date() override;
 
       // arithmetic operators
 

+ 3 - 1
source/ls-std/time/Date.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2023-02-03
+ * Changed:         2023-02-04
  *
  * */
 
@@ -19,6 +19,8 @@ ls::std::time::Date::Date() : ls::std::core::Class("Date")
   this->_init();
 }
 
+ls::std::time::Date::~Date() = default;
+
 ls::std::time::Date &ls::std::time::Date::operator+(int _value)
 {
   this->_incrementByDays(_value);