diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-06 22:56:56 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-06 22:56:56 +0100 |
commit | f0cccbe3285c039553e1fd8b5a5c7830d6087974 (patch) | |
tree | 57a0902484ec5c8ba3b9a8e7089ed42f58b6a580 /asl/types/status.cpp | |
parent | 54affafd86e2b7f387345c08e8c7285c775d75e5 (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/types/status.cpp')
-rw-r--r-- | asl/types/status.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asl/types/status.cpp b/asl/types/status.cpp index fd751d1..94c4977 100644 --- a/asl/types/status.cpp +++ b/asl/types/status.cpp @@ -23,7 +23,7 @@ struct StatusInternal asl::atomic<int32_t> ref_count; constexpr StatusInternal(asl::string<Allocator>&& msg_, asl::status_code code_) - : msg{ASL_MOVE(msg_)} + : msg{std::move(msg_)} , code{code_} { ASL_ASSERT(code != asl::status_code::ok); @@ -41,7 +41,7 @@ asl::status::status(status_code code, string_view fmt, span<format_internals::ty { StringWriter<Allocator> sink{g_allocator}; format_internals::format(&sink, fmt, args); - m_payload = alloc_new<StatusInternal>(g_allocator, ASL_MOVE(sink).finish(), code); + m_payload = alloc_new<StatusInternal>(g_allocator, std::move(sink).finish(), code); } asl::status_code asl::status::code_internal() const |