From 40dcc3c6b451b708058bf2f09eca0d15e46c1352 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 18 Jun 2018 21:19:22 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-noexcept=20p?= =?UTF-8?q?ass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This removes deprecated dynamic exception specifications. --- src/util/expression-evaluator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util') diff --git a/src/util/expression-evaluator.h b/src/util/expression-evaluator.h index 23b431a8e..343278c53 100644 --- a/src/util/expression-evaluator.h +++ b/src/util/expression-evaluator.h @@ -177,9 +177,9 @@ public: msgstr = os.str(); } - ~EvaluatorException() throw() override = default; // necessary to destroy the string object!!! + ~EvaluatorException() noexcept override = default; // necessary to destroy the string object!!! - const char *what() const throw () override { + const char *what() const noexcept override { return msgstr.c_str(); } protected: -- cgit v1.2.3