summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 7cf924d98..cd04006ef 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -149,7 +149,7 @@ std::string extractNameFromSprite(std::string str) A_WARN_UNUSED;
std::string removeSpriteIndex(std::string str) A_WARN_UNUSED;
-const char* getSafeUtf8String(std::string text) A_WARN_UNUSED;
+const char* getSafeUtf8String(const std::string &text) A_WARN_UNUSED;
void getSafeUtf8String(std::string text, char *const buf);