summaryrefslogtreecommitdiffhomepage
path: root/FoundationEx/src
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-18 00:20:38 +0100
committerAki <please@ignore.pl>2024-03-18 00:20:38 +0100
commit7117768feb2b2acb8d2498229cbaa4afbad377f1 (patch)
treec5abefb044bc885604afa9cb48e3af1434e279db /FoundationEx/src
parent5b1ce74b74a47f8812470efe9c56e03bcb0e456d (diff)
downloadstarshatter-7117768feb2b2acb8d2498229cbaa4afbad377f1.zip
starshatter-7117768feb2b2acb8d2498229cbaa4afbad377f1.tar.gz
starshatter-7117768feb2b2acb8d2498229cbaa4afbad377f1.tar.bz2
Text operations that return new Text are now const
Diffstat (limited to 'FoundationEx/src')
-rw-r--r--FoundationEx/src/Text.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/FoundationEx/src/Text.cpp b/FoundationEx/src/Text.cpp
index be03ce3..cba7720 100644
--- a/FoundationEx/src/Text.cpp
+++ b/FoundationEx/src/Text.cpp
@@ -598,7 +598,7 @@ Text::toUpper()
}
Text
-Text::substring(int start, int length)
+Text::substring(int start, int length) const
{
Text result;
@@ -620,7 +620,7 @@ Text::substring(int start, int length)
}
Text
-Text::trim()
+Text::trim() const
{
Text result;
@@ -638,7 +638,7 @@ Text::trim()
}
Text
-Text::replace(const char* pattern, const char* substitution)
+Text::replace(const char* pattern, const char* substitution) const
{
Text result;