diff --git a/common/exceptions.hh b/common/exceptions.hh index 9914847063793de74ad6c56efb77efe9b145e1ef..57b9895a3fcc8d1dbff2e296a8661e3dc57d2650 100644 --- a/common/exceptions.hh +++ b/common/exceptions.hh @@ -95,11 +95,11 @@ namespace Dune { inline void Exception::message(std::string message) { _message = message; - }; + } inline std::ostream& operator<<(std::ostream &stream, Exception &e) { return stream << e.what(); - }; + } // the "format" the exception-type gets printed. __FILE__ and // __LINE__ are standard C-defines, the GNU cpp-infofile claims that