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

summaryrefslogtreecommitdiff
path: root/source/core/StarStringView.cpp
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/StarStringView.cpp
parent4585c9cafa87cad6b54397af7e9375cc31b72f89 (diff)
resolved most of the compiler warnings/errors under gcc
also update xxhash and tinyformat
Diffstat (limited to 'source/core/StarStringView.cpp')
-rw-r--r--source/core/StarStringView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarStringView.cpp b/source/core/StarStringView.cpp
index 1357404..d1c9ae3 100644
--- a/source/core/StarStringView.cpp
+++ b/source/core/StarStringView.cpp
@@ -425,7 +425,7 @@ bool operator<(StringView s1, StringView s2) {
return s1.m_view < s2.m_view;
}
-std::ostream& operator<<(std::ostream& os, StringView& s) {
+std::ostream& operator<<(std::ostream& os, StringView const& s) {
os << s.utf8();
return os;
}