Browse Source

Add noexcept keyword to destructors of time module

Patrick-Christopher Mattulat 1 year ago
parent
commit
33cc52f945
2 changed files with 4 additions and 4 deletions
  1. 2 2
      include/ls-std/time/Date.hpp
  2. 2 2
      source/ls-std/time/Date.cpp

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

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

+ 2 - 2
source/ls-std/time/Date.cpp

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