diff options
| author | 2023-07-21 17:37:42 +0100 | |
|---|---|---|
| committer | 2023-07-21 17:37:42 +0100 | |
| commit | d722f739208cbf9f16bcef199c4fbd837e833215 (patch) | |
| tree | 71eafbadbc0e345287aa85bdc2b0ead672f19f8c /src/stringutils.cpp | |
| parent | Remove 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.cpp | 2 |
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()); |
