summaryrefslogtreecommitdiffstats
path: root/include/core/String.hpp
diff options
context:
space:
mode:
authorDhruvMaroo <dhruvmaru007@gmail.com>2021-05-30 12:33:40 +0530
committerDhruvMaroo <dhruvmaru007@gmail.com>2021-05-30 12:33:40 +0530
commitbdc5674ace9fc06a58497d0fc25cdff07cddf72b (patch)
tree2e91de8252ccc6c2abfbcfbb2554a998c879e892 /include/core/String.hpp
parent689b5fb98b4e3e618ed3571986d9b860f00b194e (diff)
downloadredot-cpp-bdc5674ace9fc06a58497d0fc25cdff07cddf72b.tar.gz
added move assignment operator
Diffstat (limited to 'include/core/String.hpp')
-rw-r--r--include/core/String.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp
index 62b58e4..ae3dd89 100644
--- a/include/core/String.hpp
+++ b/include/core/String.hpp
@@ -56,6 +56,7 @@ public:
wchar_t operator[](const int idx) const;
void operator=(const String &s);
+ void operator=(String&& s);
bool operator==(const String &s) const;
bool operator!=(const String &s) const;
String operator+(const String &s) const;