summaryrefslogtreecommitdiff
path: root/Source/cm_codecvt.hxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-15 09:56:26 -0400
committerBrad King <brad.king@kitware.com>2017-09-15 10:06:41 -0400
commit0b33aee48b1f4027fe6086b5610434a5f29b0b8a (patch)
treee2fc28dc511f61de6af3cbc550efdad03bfb9204 /Source/cm_codecvt.hxx
parentc0c5f924fe46fcf83603117689b372cb8520c4bb (diff)
downloadcmake-0b33aee48b1f4027fe6086b5610434a5f29b0b8a.tar.gz
Use C++11 override instead of CM_OVERRIDE
We now require C++11 support including `override`. Drop use of the old compatibility macro. Convert references as follows: git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' | xargs sed -i 's/CM_OVERRIDE/override/g'
Diffstat (limited to 'Source/cm_codecvt.hxx')
-rw-r--r--Source/cm_codecvt.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cm_codecvt.hxx b/Source/cm_codecvt.hxx
index 30c6d5407d..6285e8d067 100644
--- a/Source/cm_codecvt.hxx
+++ b/Source/cm_codecvt.hxx
@@ -23,15 +23,15 @@ public:
codecvt(Encoding e);
protected:
- ~codecvt() CM_OVERRIDE;
- bool do_always_noconv() const throw() CM_OVERRIDE;
+ ~codecvt() override;
+ bool do_always_noconv() const throw() 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 CM_OVERRIDE;
+ char*& to_next) const override;
result do_unshift(mbstate_t& state, char* to, char*,
- char*& to_next) const CM_OVERRIDE;
- int do_max_length() const throw() CM_OVERRIDE;
- int do_encoding() const throw() CM_OVERRIDE;
+ char*& to_next) const override;
+ int do_max_length() const throw() override;
+ int do_encoding() const throw() override;
private:
// The mbstate_t argument to do_out and do_unshift is responsible