]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/zlibcompressed.h
Modernize noexcept specifiers
[libs/core.git] / source / io / zlibcompressed.h
index eb35f6ce1b8c7c7b33e25cf86f39d36f83b8f782..67cd6731de1f317c34a8d76abf79afd26096bdf0 100644 (file)
@@ -16,9 +16,8 @@ private:
 
 public:
        zlib_error(const std::string &, int);
-       ~zlib_error() throw() override = default;
 
-       int code() const throw() { return m_code; }
+       int code() const noexcept { return m_code; }
 };
 
 /**