summaryrefslogtreecommitdiffhomepage
path: root/compat/debug.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-28 18:29:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-28 20:13:32 +0100
commit78a3eec9be053a1f82cf2e6235bbaa4deb4a1335 (patch)
tree4539ba47695bc7b5fd974e2508067cb2fd168636 /compat/debug.hpp
parent75508e3c03f659080df7db2211fb5a80cc1afeee (diff)
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'compat/debug.hpp')
-rw-r--r--compat/debug.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/compat/debug.hpp b/compat/debug.hpp
index 1fdd9a7e..07421673 100644
--- a/compat/debug.hpp
+++ b/compat/debug.hpp
@@ -1,6 +1,5 @@
#pragma once
#include <Corrade/Utility/Debug.h>
-#include <Corrade/Utility/Move.h>
#include <Corrade/Containers/StringView.h>
#include <concepts>
@@ -70,11 +69,11 @@ auto quoted(T&& value, char c = '\'')
using U = std::remove_cvref_t<T>;
using floormat::detail::corrade_debug::Quoted;
if constexpr(std::is_rvalue_reference_v<decltype(value)>)
- return Quoted<U>{ .value = Utility::move(value), .c = c };
+ return Quoted<U>{ .value = move(value), .c = c };
else
return Quoted<const U&>{ .value = value, .c = c };
}
-template<DebugPrintable T> auto quoted2(T&& value) { return quoted(Utility::forward<T>(value), '"'); }
+template<DebugPrintable T> auto quoted2(T&& value) { return quoted(forward<T>(value), '"'); }
} // namespace floormat