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:
parent
ef2b4d041b
commit
b3fa735f8d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue