diff options
Diffstat (limited to 'ingen/Parser.hpp')
-rw-r--r-- | ingen/Parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ingen/Parser.hpp b/ingen/Parser.hpp index 19db3f8b..852fa0a5 100644 --- a/ingen/Parser.hpp +++ b/ingen/Parser.hpp @@ -48,8 +48,8 @@ public: /** Record of a resource listed in a bundle manifest. */ struct ResourceRecord { - inline ResourceRecord(const std::string& u, const std::string& f) - : uri(u), filename(f) + inline ResourceRecord(std::string u, std::string f) + : uri(std::move(u)), filename(std::move(f)) {} inline bool operator<(const ResourceRecord& r) const { |