0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00

ircd:Ⓜ️:event: Replace with nodiscard attribute. (related f026110b15)

This commit is contained in:
Jason Volk 2020-04-03 12:45:42 -07:00
parent 44dce34197
commit 89ed678ab0
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 &); bool event_id(std::nothrow_t, const event::idx &, const event::id::closure &);
[[gnu::warn_unused_result]] event::id event_id(std::nothrow_t, const event::idx &, event::id::buf &); [[nodiscard]] 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 event_id(const event::idx &, event::id::buf &);
[[gnu::warn_unused_result]] event::id::buf event_id(std::nothrow_t, const event::idx &); [[nodiscard]] event::id::buf event_id(std::nothrow_t, const event::idx &);
event::id::buf event_id(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 &); bool index(std::nothrow_t, const event::id &, const event::closure_idx &);
[[gnu::warn_unused_result]] event::idx index(std::nothrow_t, const event::id &); [[nodiscard]] event::idx index(std::nothrow_t, const event::id &);
event::idx index(const event::id &); event::idx index(const event::id &);
[[gnu::warn_unused_result]] event::idx index(std::nothrow_t, const event &); [[nosdiscard]] event::idx index(std::nothrow_t, const event &);
event::idx index(const event &); event::idx index(const event &);
} }