diff --git a/include/ircd/m/event/event_id.h b/include/ircd/m/event/event_id.h index 6ee9726a6..288f3f46c 100644 --- a/include/ircd/m/event/event_id.h +++ b/include/ircd/m/event/event_id.h @@ -19,9 +19,9 @@ namespace ircd::m { 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 &); - [[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 &); } diff --git a/include/ircd/m/event/index.h b/include/ircd/m/event/index.h index cc7f0a92e..5d54c938a 100644 --- a/include/ircd/m/event/index.h +++ b/include/ircd/m/event/index.h @@ -15,9 +15,9 @@ namespace ircd::m { 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 &); - [[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 &); }