mirror of
https://github.com/matrix-construct/construct
synced 2024-12-24 14:34:00 +01:00
modules/client/rooms/context: Fix -Wdangling-pointer to an unnamed temporary (gcc-12).
This commit is contained in:
parent
310053abcf
commit
c78ab62227
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ get__context(client &client,
|
|||
url::decode(event_id, request.parv[2])
|
||||
};
|
||||
|
||||
const auto &limit
|
||||
const auto limit
|
||||
{
|
||||
std::min(request.query.get<size_t>("limit", default_limit), size_t(limit_max))
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue