aboutsummaryrefslogtreecommitdiff
path: root/src/stringutils.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-07-21 17:37:42 +0100
committerGravatar Sadie Powell2023-07-21 17:37:42 +0100
commitd722f739208cbf9f16bcef199c4fbd837e833215 (patch)
tree71eafbadbc0e345287aa85bdc2b0ead672f19f8c /src/stringutils.cpp
parentRemove the ability to treat notices specially in delaymsg. (diff)
Add a typedef for the Template::Replace map.
Diffstat (limited to 'src/stringutils.cpp')
-rw-r--r--src/stringutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stringutils.cpp b/src/stringutils.cpp
index cc24ac88b..cf70b9fcc 100644
--- a/src/stringutils.cpp
+++ b/src/stringutils.cpp
@@ -187,7 +187,7 @@ std::string Base64::Decode(const void* data, size_t length, const char* table)
return buffer;
}
-std::string Template::Replace(const std::string& str, const insp::flat_map<std::string, std::string>& vars)
+std::string Template::Replace(const std::string& str, const VariableMap& vars)
{
std::string out;
out.reserve(str.length());