mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:07: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
|
@ -17,8 +17,8 @@ class Dictionary {
|
|||
public:
|
||||
Dictionary() = default;
|
||||
|
||||
Dictionary(HashMap<DeprecatedString, DeprecatedString> const& initial_entries)
|
||||
: m_entries(initial_entries)
|
||||
Dictionary(HashMap<DeprecatedString, DeprecatedString>&& initial_entries)
|
||||
: m_entries(move(initial_entries))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue