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/display/drawing-item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display') diff --git a/src/display/drawing-item.h b/src/display/drawing-item.h index b688b467c..5cd6c987f 100644 --- a/src/display/drawing-item.h +++ b/src/display/drawing-item.h @@ -59,7 +59,7 @@ struct CacheRecord typedef std::list CacheList; class InvalidItemException : public std::exception { - const char *what() const throw() override { + const char *what() const noexcept override { return "Invalid item in drawing"; } }; -- cgit v1.2.3