From 415f4a700df55b4fb030824ce66dc68dc1933afc Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 16 Dec 2020 20:49:52 +0300 Subject: [PATCH] #18963 Additional changes: throw() -> noexcept --- tools/CurvePlot/src/cpp/CurvePlot_Exception.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }; -- 2.39.2