From: vsr Date: Wed, 16 Dec 2020 17:49:52 +0000 (+0300) Subject: #18963 Additional changes: throw() -> noexcept X-Git-Tag: V9_7_0a1~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=415f4a700df55b4fb030824ce66dc68dc1933afc;p=modules%2Fgui.git #18963 Additional changes: throw() -> noexcept --- diff --git a/tools/CurvePlot/src/cpp/CurvePlot_Exception.hxx b/tools/CurvePlot/src/cpp/CurvePlot_Exception.hxx index b7ce26f67..252ddd4c1 100644 --- a/tools/CurvePlot/src/cpp/CurvePlot_Exception.hxx +++ b/tools/CurvePlot/src/cpp/CurvePlot_Exception.hxx @@ -28,9 +28,9 @@ namespace CURVEPLOT { public: Exception(const std::string & what) : _what(what) {} - const char* what() const throw() { return _what.c_str(); } + const char* what() const noexcept { return _what.c_str(); } - ~Exception() throw () {} + ~Exception() noexcept {} private: const std::string _what; };