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

ircd:Ⓜ️ Warning for unused result of non-throwing overloads.

This commit is contained in:
Jason Volk 2020-04-01 16:15:01 -07:00
parent d1812f0c44
commit f026110b15
2 changed files with 4 additions and 4 deletions

View file

@ -19,9 +19,9 @@ namespace ircd::m
{
bool event_id(std::nothrow_t, const event::idx &, const event::id::closure &);
event::id event_id(std::nothrow_t, const event::idx &, event::id::buf &);
[[gnu::warn_unused_result]] event::id event_id(std::nothrow_t, const event::idx &, event::id::buf &);
event::id event_id(const event::idx &, event::id::buf &);
event::id::buf event_id(std::nothrow_t, const event::idx &);
[[gnu::warn_unused_result]] event::id::buf event_id(std::nothrow_t, const event::idx &);
event::id::buf event_id(const event::idx &);
}

View file

@ -15,9 +15,9 @@ namespace ircd::m
{
bool index(std::nothrow_t, const event::id &, const event::closure_idx &);
event::idx index(std::nothrow_t, const event::id &);
[[gnu::warn_unused_result]] event::idx index(std::nothrow_t, const event::id &);
event::idx index(const event::id &);
event::idx index(std::nothrow_t, const event &);
[[gnu::warn_unused_result]] event::idx index(std::nothrow_t, const event &);
event::idx index(const event &);
}