summaryrefslogtreecommitdiff
path: root/zen/legacy_compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/legacy_compiler.h')
-rw-r--r--zen/legacy_compiler.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/zen/legacy_compiler.h b/zen/legacy_compiler.h
index c853b139..fce7fd7d 100644
--- a/zen/legacy_compiler.h
+++ b/zen/legacy_compiler.h
@@ -32,7 +32,7 @@ namespace std
//W(hy)TF is this not standard? https://stackoverflow.com/a/47735624
template <class Char, class Traits, class Alloc> inline
basic_string<Char, Traits, Alloc> operator+(basic_string<Char, Traits, Alloc>&& lhs, const basic_string_view<Char> rhs)
-{ return move(lhs.append(rhs.begin(), rhs.end())); } //the move *is* needed!!!
+{ return std::move(lhs.append(rhs.begin(), rhs.end())); } //the move *is* needed!!!
//template <class Char> inline
//basic_string<Char> operator+(const basic_string<Char>& lhs, const basic_string_view<Char>& rhs) { return basic_string<Char>(lhs) + rhs; }
@@ -40,9 +40,6 @@ basic_string<Char, Traits, Alloc> operator+(basic_string<Char, Traits, Alloc>&&
}
//---------------------------------------------------------------------------------
-//support for std::string::resize_and_overwrite()
- #define ZEN_HAVE_RESIZE_AND_OVERWRITE 1
-
namespace zen
{
double fromChars(const char* first, const char* last);
bgstack15