0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

ircd:Ⓜ️ Minor constness fixes.

This commit is contained in:
Jason Volk 2018-04-11 18:20:13 -07:00
parent ef2b4d041b
commit b3fa735f8d

View file

@ -406,7 +406,7 @@ const
get(type, state_key, event::id::closure{[&closure] get(type, state_key, event::id::closure{[&closure]
(const event::id &event_id) (const event::id &event_id)
{ {
event::fetch event const event::fetch event
{ {
event_id event_id
}; };
@ -455,7 +455,7 @@ const
return get(std::nothrow, type, state_key, event::id::closure{[&closure] return get(std::nothrow, type, state_key, event::id::closure{[&closure]
(const event::id &event_id) (const event::id &event_id)
{ {
event::fetch event const event::fetch event
{ {
event_id, std::nothrow event_id, std::nothrow
}; };