mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
LibCore: Explicitly mark HashMap copy
This commit is contained in:
parent
95d90a760b
commit
31ba0a1a4c
Notes:
sideshowbarker
2024-07-17 21:16:31 +09:00
Author: https://github.com/BenWiederhake
Commit: 31ba0a1a4c
Pull-request: https://github.com/SerenityOS/serenity/pull/18821
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
private:
|
||||
MimeData() = default;
|
||||
explicit MimeData(HashMap<DeprecatedString, ByteBuffer> const& data)
|
||||
: m_data(data)
|
||||
: m_data(data.clone().release_value_but_fixme_should_propagate_errors())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue