summaryrefslogtreecommitdiffhomepage
path: root/compat/intrusive-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/intrusive-ptr.hpp
parent75508e3c03f659080df7db2211fb5a80cc1afeee (diff)
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'compat/intrusive-ptr.hpp')
-rw-r--r--compat/intrusive-ptr.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/intrusive-ptr.hpp b/compat/intrusive-ptr.hpp
index 0d09a366..7cc15494 100644
--- a/compat/intrusive-ptr.hpp
+++ b/compat/intrusive-ptr.hpp
@@ -1,7 +1,6 @@
#pragma once
#include "compat/assert.hpp"
#include <compare>
-#include <Corrade/Utility/Move.h>
namespace floormat::iptr { struct non_atomic_u32_tag{}; }
@@ -273,7 +272,7 @@ fm_template template<typename... Ts>
requires std::is_constructible_v<T, Ts&&...>
constexpr fm_basic_iptr::basic_iptr(InPlaceInitT, Ts&&... args) // NOLINT(*-missing-std-forward)
noexcept(std::is_nothrow_constructible_v<T, Ts&&...>):
- _ptr{new T{Utility::forward<Ts...>(args...)}}
+ _ptr{new T{forward<Ts...>(args...)}}
{
ops_t::init_to_1(_ptr);
}