diff options
Diffstat (limited to 'protocols/MinecraftDynmap/src/utils.cpp')
-rw-r--r-- | protocols/MinecraftDynmap/src/utils.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/protocols/MinecraftDynmap/src/utils.cpp b/protocols/MinecraftDynmap/src/utils.cpp index 15fea63aaf..ec01628899 100644 --- a/protocols/MinecraftDynmap/src/utils.cpp +++ b/protocols/MinecraftDynmap/src/utils.cpp @@ -49,17 +49,6 @@ void utils::text::replace_all(std::string* data, const std::string &from, const } } -void utils::text::treplace_all(std::tstring* data, const std::tstring &from, const std::tstring &to) -{ - std::tstring::size_type position = 0; - - while ((position = data->find(from, position)) != std::tstring::npos) - { - data->replace(position, from.size(), to); - position++; - } -} - std::string utils::text::special_expressions_decode(std::string data) { utils::text::replace_all(&data, "\\r", "\r"); |