diff --git a/include/ircd/m/event/event_id.h b/include/ircd/m/event/event_id.h index 6e2124d4f..6ee9726a6 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 &); - 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 &); } diff --git a/include/ircd/m/event/index.h b/include/ircd/m/event/index.h index d4795392c..cc7f0a92e 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 &); - 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 &); }