0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 08:23:56 +01:00

modules: X-value copy elision hints for clang.

This commit is contained in:
Jason Volk 2020-02-12 11:30:37 -08:00
parent 7669fd53d9
commit c3f0803e49
8 changed files with 9 additions and 9 deletions

View file

@ -366,7 +366,7 @@ ircd::m::homeserver::key::key(const struct opts &opts)
key
};
return ret;
return std::move(ret);
}()}
{
log::info

View file

@ -181,7 +181,7 @@ get__events(client &client,
};
if(get_events_from(client, request, room_id, event_id, room_head, room_depth, top))
return response;
return std::move(response);
checkpoint.rollback();
}
@ -256,7 +256,7 @@ get__events(client &client,
top, "end", room_head
};
return response;
return std::move(response);
}
static void

View file

@ -81,7 +81,7 @@ get__notifications(client &client,
};
top.~object();
return response;
return std::move(response);
}
resource::method

View file

@ -101,7 +101,7 @@ get__relations(client &client,
};
relations_chunk(client, request, room_id, event_id, rel_type, type, chunk);
return response;
return std::move(response);
}
void

View file

@ -81,7 +81,7 @@ post__search(client &client, const resource::request &request)
};
handle_room_events(client, request, search_categories, result_categories);
return response;
return std::move(response);
}
void

View file

@ -127,7 +127,7 @@ get__backfill(client &client,
pdus.append(event);
}
return response;
return std::move(response);
}
static size_t

View file

@ -135,7 +135,7 @@ get__backfill_ids(client &client,
pdus.append(event_id);
}
return response;
return std::move(response);
}
m::resource::method

View file

@ -141,7 +141,7 @@ get__query_profile(client &client,
return true;
});
return response;
return std::move(response);
}
m::resource::response