Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarString.hpp
diff options
context:
space:
mode:
authorLDA <lda@ldasuku.net>2023-06-26 11:48:27 -0700
committerLDA <lda@ldasuku.net>2023-06-26 11:58:35 -0700
commitc9e889723b7af832322d178975e6e440d6cd3ae5 (patch)
treea8429c30ecf46ed1388df13b614141e73973cd9f /source/core/StarString.hpp
parent4585c9cafa87cad6b54397af7e9375cc31b72f89 (diff)
resolved most of the compiler warnings/errors under gcc
also update xxhash and tinyformat
Diffstat (limited to 'source/core/StarString.hpp')
-rw-r--r--source/core/StarString.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarString.hpp b/source/core/StarString.hpp
index 5adb0f9..1fe1aaa 100644
--- a/source/core/StarString.hpp
+++ b/source/core/StarString.hpp
@@ -428,7 +428,7 @@ String String::lookupTags(Lookup&& lookup) const {
}
}
- return move(finalString);
+ return finalString;
}
template <typename Lookup>
@@ -466,7 +466,7 @@ Maybe<String> String::maybeLookupTagsView(Lookup&& lookup) const {
for (auto& view : finalViews)
finalString += view;
- return move(finalString);
+ return String(finalString);
}
template <typename Lookup>