浏览代码

Add noexcept keyword to destructors of encoding module

Patrick-Christopher Mattulat 1 年之前
父节点
当前提交
cca118a174
共有 2 个文件被更改,包括 4 次插入4 次删除
  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)
 {