Răsfoiți Sursa

Add noexcept keyword to destructors of encoding module

Patrick-Christopher Mattulat 1 an în urmă
părinte
comite
cca118a174
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 2 2
      include/ls-std/encoding/Base64.hpp
  2. 2 2
      source/ls-std/encoding/Base64.cpp

+ 2 - 2
include/ls-std/encoding/Base64.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-01-03
- * Changed:         2023-02-06
+ * Changed:         2023-02-22
  *
  * */
 
@@ -23,7 +23,7 @@ namespace ls::std::encoding
     public:
 
       Base64();
-      ~Base64() override;
+      ~Base64() noexcept override;
 
       // implementation
 

+ 2 - 2
source/ls-std/encoding/Base64.cpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2022-01-03
- * Changed:         2023-02-04
+ * Changed:         2023-02-22
  *
  * */
 
@@ -12,7 +12,7 @@
 
 ls::std::encoding::Base64::Base64() = default;
 
-ls::std::encoding::Base64::~Base64() = default;
+ls::std::encoding::Base64::~Base64() noexcept = default;
 
 ::std::string ls::std::encoding::Base64::encode(const ::std::string &_sequence)
 {