mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03: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: https://github.com/SerenityOS/serenity/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 ✅
@ -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…
Reference in New Issue
Block a user