From f0cccbe3285c039553e1fd8b5a5c7830d6087974 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Thu, 6 Mar 2025 22:56:56 +0100 Subject: 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. --- asl/types/status.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asl/types/status.cpp') 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 ref_count; constexpr StatusInternal(asl::string&& 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 sink{g_allocator}; format_internals::format(&sink, fmt, args); - m_payload = alloc_new(g_allocator, ASL_MOVE(sink).finish(), code); + m_payload = alloc_new(g_allocator, std::move(sink).finish(), code); } asl::status_code asl::status::code_internal() const -- cgit