diff options
author | Aki <please@ignore.pl> | 2024-03-18 00:20:38 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-03-18 00:20:38 +0100 |
commit | 7117768feb2b2acb8d2498229cbaa4afbad377f1 (patch) | |
tree | c5abefb044bc885604afa9cb48e3af1434e279db /FoundationEx/include | |
parent | 5b1ce74b74a47f8812470efe9c56e03bcb0e456d (diff) | |
download | starshatter-7117768feb2b2acb8d2498229cbaa4afbad377f1.zip starshatter-7117768feb2b2acb8d2498229cbaa4afbad377f1.tar.gz starshatter-7117768feb2b2acb8d2498229cbaa4afbad377f1.tar.bz2 |
Text operations that return new Text are now const
Diffstat (limited to 'FoundationEx/include')
-rw-r--r-- | FoundationEx/include/Text.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FoundationEx/include/Text.h b/FoundationEx/include/Text.h index 851cadf..c40c636 100644 --- a/FoundationEx/include/Text.h +++ b/FoundationEx/include/Text.h @@ -124,9 +124,9 @@ public: void toUpper(); // substring - Text substring(int start, int length); - Text trim(); - Text replace(const char* pattern, const char* substitution); + Text substring(int start, int length) const; + Text trim() const; + Text replace(const char* pattern, const char* substitution) const; Text concat(const char* tail) const; static Text format(const char* fmt, ...); |