diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2018-05-15 23:00:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-15 23:00:02 +0200 |
commit | 1d4ca1575fcbe344a66e0448110ada1e16e435ee (patch) | |
tree | 8ac6d239f0d036057892caca2ae342faa37b54ee /include/core/String.hpp | |
parent | d8becfbe903d11294edfa9cda19dc91274605073 (diff) | |
parent | 1a32997a0f877b1411bdf39c53f52b491285026c (diff) | |
download | redot-cpp-1d4ca1575fcbe344a66e0448110ada1e16e435ee.tar.gz |
Merge pull request #133 from timower/master
Fix const for String operators.
Diffstat (limited to 'include/core/String.hpp')
-rw-r--r-- | include/core/String.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp index 7826fcb..ff3a307 100644 --- a/include/core/String.hpp +++ b/include/core/String.hpp @@ -49,15 +49,15 @@ public: wchar_t operator[](const int idx) const; void operator=(const String &s); - bool operator==(const String &s); - bool operator!=(const String &s); - String operator+(const String &s); + bool operator==(const String &s) const; + bool operator!=(const String &s) const; + String operator+(const String &s) const; void operator+=(const String &s); void operator+=(const wchar_t c); - bool operator<(const String &s); - bool operator<=(const String &s); - bool operator>(const String &s); - bool operator>=(const String &s); + bool operator<(const String &s) const; + bool operator<=(const String &s) const; + bool operator>(const String &s) const; + bool operator>=(const String &s) const; operator NodePath() const; |