diff options
author | Sean McBride <sean@rogue-research.com> | 2021-10-14 16:13:23 (GMT) |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2021-10-15 15:23:12 (GMT) |
commit | e2a4718d186d4848bae2beb926279ea334e0fef3 (patch) | |
tree | c5f6f7ed5526d131bc534cb6bd6a86c00361f917 /Source/cm_codecvt.hxx | |
parent | 315fc296e3c1ecddbf59a2144b0dff9a05c715ed (diff) | |
download | CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.zip CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.tar.gz CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.tar.bz2 |
Source: Fix Clang -Wdeprecated warnings
Applied C++ 'rule of three'.
Diffstat (limited to 'Source/cm_codecvt.hxx')
-rw-r--r-- | Source/cm_codecvt.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cm_codecvt.hxx b/Source/cm_codecvt.hxx index b73204f..9af083f 100644 --- a/Source/cm_codecvt.hxx +++ b/Source/cm_codecvt.hxx @@ -24,14 +24,14 @@ public: protected: ~codecvt() override; - bool do_always_noconv() const throw() override; + bool do_always_noconv() const noexcept override; result do_out(mbstate_t& state, const char* from, const char* from_end, const char*& from_next, char* to, char* to_end, char*& to_next) const override; result do_unshift(mbstate_t& state, char* to, char*, char*& to_next) const override; - int do_max_length() const throw() override; - int do_encoding() const throw() override; + int do_max_length() const noexcept override; + int do_encoding() const noexcept override; private: // The mbstate_t argument to do_out and do_unshift is responsible |