mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
LibIPC: Explicitly mark HashMap copy, offer move interface
This commit is contained in:
parent
688d8febe4
commit
362773d4a6
4 changed files with 8 additions and 8 deletions
|
@ -38,7 +38,7 @@ void ConnectionFromClient::set_clipboard_data(Core::AnonymousBuffer const& data,
|
|||
Messages::ClipboardServer::GetClipboardDataResponse ConnectionFromClient::get_clipboard_data()
|
||||
{
|
||||
auto& storage = Storage::the();
|
||||
return { storage.buffer(), storage.mime_type(), storage.metadata() };
|
||||
return { storage.buffer(), storage.mime_type(), storage.metadata().clone().release_value_but_fixme_should_propagate_errors() };
|
||||
}
|
||||
|
||||
void ConnectionFromClient::notify_about_clipboard_change()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue