mirror of
https://github.com/matrix-construct/construct
synced 2024-12-23 22:13:55 +01:00
Fix missing virtual destructor override indications (pedantic).
This commit is contained in:
parent
4e5002eb43
commit
fd54aa11e6
4 changed files with 6 additions and 6 deletions
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue