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/logging/logging.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'asl/logging/logging.hpp') diff --git a/asl/logging/logging.hpp b/asl/logging/logging.hpp index 9ff0d08..9c74b31 100644 --- a/asl/logging/logging.hpp +++ b/asl/logging/logging.hpp @@ -48,7 +48,11 @@ class DefaultLogger : public DefaultLoggerBase W m_writer; public: - explicit constexpr DefaultLogger(W&& writer) : m_writer{ASL_FWD(writer)} {} + template + explicit constexpr DefaultLogger(U&& writer) + requires constructible_from + : m_writer{std::forward(writer)} + {} constexpr void log(const message& m) override { -- cgit