diff options
author | Matthias Maennich <matthias@maennich.net> | 2017-10-05 14:43:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-30 13:54:44 (GMT) |
commit | 52680d8092bf3c32e3fa27460b22434d58095f27 (patch) | |
tree | 7d5542824ffef5cffb9eef1415f2c131e645dce8 | |
parent | 41d796be155e0da8fec66cb281429ed0eb91650d (diff) | |
download | CMake-52680d8092bf3c32e3fa27460b22434d58095f27.zip CMake-52680d8092bf3c32e3fa27460b22434d58095f27.tar.gz CMake-52680d8092bf3c32e3fa27460b22434d58095f27.tar.bz2 |
cm_codecvt: cleanup superfluous semicolons
-rw-r--r-- | Source/cm_codecvt.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/cm_codecvt.cxx b/Source/cm_codecvt.cxx index cf55741..6705851 100644 --- a/Source/cm_codecvt.cxx +++ b/Source/cm_codecvt.cxx @@ -38,12 +38,14 @@ codecvt::codecvt(Encoding e) } } -codecvt::~codecvt(){}; +codecvt::~codecvt() +{ +} bool codecvt::do_always_noconv() const throw() { return m_noconv; -}; +} std::codecvt_base::result codecvt::do_out(mbstate_t& state, const char* from, const char* from_end, @@ -122,7 +124,7 @@ std::codecvt_base::result codecvt::do_out(mbstate_t& state, const char* from, static_cast<void>(to_next); return std::codecvt_base::noconv; #endif -}; +} std::codecvt_base::result codecvt::do_unshift(mbstate_t& state, char* to, char* to_end, @@ -143,7 +145,7 @@ std::codecvt_base::result codecvt::do_unshift(mbstate_t& state, char* to, static_cast<void>(to_end); return std::codecvt_base::ok; #endif -}; +} #if defined(_WIN32) std::codecvt_base::result codecvt::Decode(mbstate_t& state, int size, @@ -235,9 +237,9 @@ void codecvt::BufferPartial(mbstate_t& state, int size, int codecvt::do_max_length() const throw() { return 4; -}; +} int codecvt::do_encoding() const throw() { return 0; -}; +} |