aboutsummaryrefslogtreecommitdiffstats
path: root/include/stringutils.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-26 22:24:16 +0000
committerGravatar Sadie Powell2026-03-26 22:24:16 +0000
commitcd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch)
tree2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /include/stringutils.h
parentMerge branch 'insp4' into master. (diff)
downloadinspircd++-cd2d667ca7d3d31dbcf1f3bf0717b744b11ec776.tar.gz
inspircd++-cd2d667ca7d3d31dbcf1f3bf0717b744b11ec776.tar.bz2
inspircd++-cd2d667ca7d3d31dbcf1f3bf0717b744b11ec776.zip
Switch typedefs to using statements.
Diffstat (limited to 'include/stringutils.h')
-rw-r--r--include/stringutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stringutils.h b/include/stringutils.h
index 55965ad7a..c2e79964d 100644
--- a/include/stringutils.h
+++ b/include/stringutils.h
@@ -162,7 +162,7 @@ namespace Percent
namespace Template
{
/** A mapping of variable names to their values. */
- typedef insp::flat_map<std::string, std::string> VariableMap;
+ using VariableMap = insp::flat_map<std::string, std::string>;
/** Replaces template variables like %foo% within a string.
* @param str The string to template from.