From 5680e5900f6fb89ec66af6480a7d125fc8960552 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Dec 2020 13:24:37 +0100 Subject: Fix build with older GCC This reverts commit 57602cd13969d72cfae284bccdeee1ac6bf15c1e. --- include/raul/Exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/raul') diff --git a/include/raul/Exception.hpp b/include/raul/Exception.hpp index 0e8d3ba..478017d 100644 --- a/include/raul/Exception.hpp +++ b/include/raul/Exception.hpp @@ -26,7 +26,7 @@ namespace Raul { /** An exception (unexpected error). */ class Exception : public std::exception { public: - const char* what() const noexcept final { return _what.c_str(); } + const char* what() const noexcept final override { return _what.c_str(); } protected: explicit Exception(std::string what) : _what(std::move(what)) {} -- cgit v1.2.1