summaryrefslogtreecommitdiff
path: root/asl/strings/string.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-06 22:56:56 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-06 22:56:56 +0100
commitf0cccbe3285c039553e1fd8b5a5c7830d6087974 (patch)
tree57a0902484ec5c8ba3b9a8e7089ed42f58b6a580 /asl/strings/string.hpp
parent54affafd86e2b7f387345c08e8c7285c775d75e5 (diff)
Replace ASL_MOVE, ASL_FWD, and ASL_FWD_LIKE by their std:: equivalent
This is because some compiler stuff and diagnostics tools rely on those symboles being what they are.
Diffstat (limited to 'asl/strings/string.hpp')
-rw-r--r--asl/strings/string.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/asl/strings/string.hpp b/asl/strings/string.hpp
index c2f199f..0f70228 100644
--- a/asl/strings/string.hpp
+++ b/asl/strings/string.hpp
@@ -16,7 +16,7 @@ class string
buffer<char, Allocator> m_buffer;
explicit constexpr string(buffer<char, Allocator>&& buffer) :
- m_buffer{ASL_MOVE(buffer)}
+ m_buffer{std::move(buffer)}
{}
template<allocator A>
@@ -24,7 +24,7 @@ class string
public:
constexpr string() requires default_constructible<Allocator> = default;
- explicit constexpr string(Allocator allocator) : m_buffer{ASL_MOVE(allocator)} {}
+ explicit constexpr string(Allocator allocator) : m_buffer{std::move(allocator)} {}
// NOLINTNEXTLINE(*-explicit-conversions)
constexpr string(string_view sv)
@@ -33,7 +33,7 @@ public:
{}
constexpr string(string_view sv, Allocator allocator)
- : m_buffer{sv.as_span(), ASL_MOVE(allocator)}
+ : m_buffer{sv.as_span(), std::move(allocator)}
{}
constexpr ~string() = default;