diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 09:49:42 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 09:49:42 +1100 |
commit | aa987a217779e71f97ee4c9cce531aec1c861bf8 (patch) | |
tree | e51fcce110306d93bf93870f13a5ff7d6b575427 /source/core/StarString.cpp | |
parent | d0099a6d790b66f21e4e266e569d64fb82fb0a81 (diff) | |
parent | 1c89042016c739815b2d70bcbef4673eef6b63e0 (diff) |
Merge branch 'main' into small-fixes
Diffstat (limited to 'source/core/StarString.cpp')
-rw-r--r-- | source/core/StarString.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/core/StarString.cpp b/source/core/StarString.cpp index f76c707..b236656 100644 --- a/source/core/StarString.cpp +++ b/source/core/StarString.cpp @@ -343,7 +343,7 @@ StringList String::splitAny(String const& chars, size_t maxSplit) const { } } if (!next.empty()) - ret.append(move(next)); + ret.append(std::move(next)); return ret; } @@ -661,43 +661,43 @@ void String::append(Char c) { void String::prepend(String const& s) { auto ns = s; ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::prepend(std::string const& s) { auto ns = String(s); ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::prepend(Char const* s) { auto ns = String(s); ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::prepend(Char const* s, size_t n) { auto ns = String(s, n); ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::prepend(char const* s) { auto ns = String(s); ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::prepend(char const* s, size_t n) { auto ns = String(s, n); ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::prepend(Char c) { auto ns = String(c, 1); ns.append(*this); - *this = move(ns); + *this = std::move(ns); } void String::push_back(Char c) { @@ -809,7 +809,7 @@ String& String::operator=(String const& s) { } String& String::operator=(String&& s) { - m_string = move(s.m_string); + m_string = std::move(s.m_string); return *this; } |