0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-20 17:01:55 +01:00

Fix missing virtual destructor override indications (pedantic).

This commit is contained in:
Jason Volk 2022-06-13 14:20:07 -07:00
parent 4e5002eb43
commit fd54aa11e6
4 changed files with 6 additions and 6 deletions

View file

@ -112,7 +112,7 @@ final
sha1(const mutable_buffer &, const const_buffer &); // note: finalizes
sha1(const const_buffer &); // note: finalizes
sha1();
~sha1() noexcept;
~sha1() noexcept override;
};
/// SHA-256 hashing device.
@ -141,7 +141,7 @@ final
sha256(const mutable_buffer &, const const_buffer &); // note: finalizes
sha256(const const_buffer &); // note: finalizes
sha256();
~sha256() noexcept;
~sha256() noexcept override;
};
/// RIPEMD160 hashing device.
@ -170,7 +170,7 @@ final
ripemd160(const mutable_buffer &, const const_buffer &); // note: finalizes
ripemd160(const const_buffer &); // note: finalizes
ripemd160();
~ripemd160() noexcept;
~ripemd160() noexcept override;
};
/// Automatic gratification from hash::digest()

View file

@ -101,7 +101,7 @@ struct ircd::exception
exception(const exception &) = delete;
exception &operator=(exception &&) = delete;
exception &operator=(const exception &) = delete;
~exception() noexcept;
~exception() noexcept override;
};
/// Exception generator convenience macro

View file

@ -134,7 +134,7 @@ struct ircd::http::error
error(const enum code &, std::string content = {}, std::string headers = {});
error(const enum code &, std::string content, const vector_view<const header> &);
template<class... args> error(const string_view &fmt, const enum code &, args&&...);
~error() noexcept;
~error() noexcept override;
};
/// Represents a single \\r\\n delimited line used in HTTP.

View file

@ -52,7 +52,7 @@ class ircd::m::error
error(const http::code &);
error(std::string);
error();
~error() noexcept;
~error() noexcept override;
};
/// Macro for all matrix exceptions; all errors rooted from m::error