mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
modules/client/sync: Fix warnings for clang.
This commit is contained in:
parent
9579325506
commit
58382af029
1 changed files with 3 additions and 3 deletions
|
@ -349,10 +349,10 @@ ircd::m::sync::handle_get(client &client,
|
|||
};
|
||||
|
||||
if(complete)
|
||||
return response;
|
||||
return std::move(response);
|
||||
|
||||
if(longpoll_handle(data))
|
||||
return response;
|
||||
return std::move(response);
|
||||
|
||||
const auto &next_batch
|
||||
{
|
||||
|
@ -364,7 +364,7 @@ ircd::m::sync::handle_get(client &client,
|
|||
// A user-timeout occurred. According to the spec we return a
|
||||
// 200 with empty fields rather than a 408.
|
||||
empty_response(data, next_batch);
|
||||
return response;
|
||||
return std::move(response);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue