summaryrefslogtreecommitdiffstats
path: root/include/core
diff options
context:
space:
mode:
authorDhruvMaroo <dhruvmaru007@gmail.com>2021-06-01 23:16:09 +0530
committerDhruvMaroo <dhruvmaru007@gmail.com>2021-06-01 23:16:09 +0530
commit7a1890345b2658b422823bce889f88cc7dbb76d5 (patch)
treecfad1eb33314c73ee8c066f12b1c2828e3efac97 /include/core
parent67e2c6145c8650defb5af6ff88d805dc07fe3975 (diff)
downloadredot-cpp-7a1890345b2658b422823bce889f88cc7dbb76d5.tar.gz
edited according to clang-format
Diffstat (limited to 'include/core')
-rw-r--r--include/core/String.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp
index fa3944d..2dea845 100644
--- a/include/core/String.hpp
+++ b/include/core/String.hpp
@@ -40,7 +40,7 @@ public:
String(const wchar_t *contents);
String(const wchar_t c);
String(const String &other);
- String(String&& other);
+ String(String &&other);
~String();
@@ -56,7 +56,7 @@ public:
wchar_t operator[](const int idx) const;
void operator=(const String &s);
- void operator=(String&& s);
+ void operator=(String &&s);
bool operator==(const String &s) const;
bool operator!=(const String &s) const;
String operator+(const String &s) const;