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:
parent
44dce34197
commit
89ed678ab0
2 changed files with 4 additions and 4 deletions
|
@ -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 &);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 &);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue