Bläddra i källkod

Move Class destructor definition to source file

Patrick-Christopher Mattulat 1 år sedan
förälder
incheckning
b3c699c05f
2 ändrade filer med 6 tillägg och 3 borttagningar
  1. 2 2
      include/ls_std/core/Class.hpp
  2. 4 1
      source/ls_std/core/Class.cpp

+ 2 - 2
include/ls_std/core/Class.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2022-07-03
+ * Changed:         2022-12-23
  *
  * */
 
@@ -20,7 +20,7 @@ namespace ls::std::core
     public:
 
       explicit Class(const ::std::string &_name);
-      virtual ~Class() = default;
+      virtual ~Class();
 
       ::std::string getClassName();
 

+ 4 - 1
source/ls_std/core/Class.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2022-05-20
+ * Changed:         2022-12-23
  *
  * */
 
@@ -15,6 +15,9 @@ ls::std::core::Class::Class(const ::std::string &_name)
   this->_assignClassName(_name);
 }
 
+ls::std::core::Class::~Class()
+= default;
+
 ::std::string ls::std::core::Class::getClassName()
 {
   return this->name;