diff --git a/util/exception.hh b/util/exception.hh index b765ae36..08bb6656 100644 --- a/util/exception.hh +++ b/util/exception.hh @@ -14,10 +14,10 @@ template typename Except::template ExceptionTag typename Except::template ExceptionTag inline std::size_t CheckOverflowInternal(uint64_t value) { @@ -149,8 +149,8 @@ inline std::size_t CheckOverflow(uint64_t value) { /* Thrown for Windows specific operations. */ class WindowsException : public Exception { public: - WindowsException() throw(); - ~WindowsException() throw(); + WindowsException() noexcept; + ~WindowsException() noexcept; }; #endif