aboutsummaryrefslogtreecommitdiff
path: root/src/stringutils.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-05 11:35:56 +0100
committerGravatar Sadie Powell2023-08-11 12:03:09 +0100
commit70131c8e78e3186d217a0c50abba64474506cd69 (patch)
treee546ae74dca6a9aac941673b1e14f3e27597123b /src/stringutils.cpp
parentRename utility/string_view to utility/string. (diff)
Move stdalgo::string::join to utility/string and templatise separator.
Diffstat (limited to 'src/stringutils.cpp')
-rw-r--r--src/stringutils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stringutils.cpp b/src/stringutils.cpp
index cf70b9fcc..9fc22f3ee 100644
--- a/src/stringutils.cpp
+++ b/src/stringutils.cpp
@@ -26,6 +26,7 @@
#include <fmt/format.cc>
#include "inspircd.h"
+#include "utility/string.h"
std::string Percent::Encode(const void* data, size_t length, const char* table, bool upper)
{
@@ -342,7 +343,7 @@ std::string TokenList::ToString() const
// If the token list is not in permissive mode then the token list is just
// a list of allowed tokens.
- return stdalgo::string::join(tokens);
+ return insp::join(tokens);
}
bool TokenList::operator==(const TokenList& other) const