summaryrefslogtreecommitdiffhomepage
path: root/compat/safe-ptr.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/safe-ptr.hpp
parent75508e3c03f659080df7db2211fb5a80cc1afeee (diff)
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'compat/safe-ptr.hpp')
-rw-r--r--compat/safe-ptr.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/safe-ptr.hpp b/compat/safe-ptr.hpp
index 68c17c76..2a77ea72 100644
--- a/compat/safe-ptr.hpp
+++ b/compat/safe-ptr.hpp
@@ -3,7 +3,6 @@
#include "compat/defs.hpp"
#include <type_traits>
#include <Corrade/Tags.h>
-#include <Corrade/Utility/Move.h>
namespace floormat {
@@ -26,7 +25,7 @@ public:
safe_ptr() noexcept: safe_ptr{InPlaceInit} {}
template<typename... Ts> safe_ptr(InPlaceInitT, Ts&&... args) noexcept:
- ptr(new T{ Utility::forward<Ts>(args)... })
+ ptr(new T{ forward<Ts>(args)... })
{}
safe_ptr(const safe_ptr& other) noexcept: