diff options
Diffstat (limited to 'AK/SourceGenerator.h')
-rw-r--r-- | AK/SourceGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/SourceGenerator.h b/AK/SourceGenerator.h index 93c7158bd9..53c6367b36 100644 --- a/AK/SourceGenerator.h +++ b/AK/SourceGenerator.h @@ -37,7 +37,7 @@ public: SourceGenerator fork() { return SourceGenerator { m_builder, m_mapping, m_opening, m_closing }; } - void set(StringView key, String value) { m_mapping.set(key, value); } + void set(StringView key, String value) { m_mapping.set(key, move(value)); } String get(StringView key) const { auto result = m_mapping.get(key); |