summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-14 17:25:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-14 17:25:56 +0200
commitb32c25b283ea9cc5ae21c3d8870f2f856d5f2f0e (patch)
tree7541556a26ae9cd25b83e83a13e83f344b45bd50
parent25057f99ac871684695175738f9ac31890bb4bba (diff)
w
-rw-r--r--compat/borrowed-ptr.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/compat/borrowed-ptr.hpp b/compat/borrowed-ptr.hpp
index 2f7f00d2..34fa6cfe 100644
--- a/compat/borrowed-ptr.hpp
+++ b/compat/borrowed-ptr.hpp
@@ -53,15 +53,15 @@ public:
bptr(std::nullptr_t) noexcept; // NOLINT(*-explicit-conversions)
bptr& operator=(std::nullptr_t) noexcept;
- CORRADE_ALWAYS_INLINE bptr(const bptr&) noexcept;
- CORRADE_ALWAYS_INLINE bptr& operator=(const bptr&) noexcept;
- template<detail_borrowed_ptr::DerivedFrom<T> Y> CORRADE_ALWAYS_INLINE bptr(const bptr<Y>&) noexcept;
- template<detail_borrowed_ptr::DerivedFrom<T> Y> CORRADE_ALWAYS_INLINE bptr& operator=(const bptr<Y>&) noexcept;
-
- CORRADE_ALWAYS_INLINE bptr(bptr&&) noexcept;
- CORRADE_ALWAYS_INLINE bptr& operator=(bptr&&) noexcept;
- template<detail_borrowed_ptr::DerivedFrom<T> Y> CORRADE_ALWAYS_INLINE bptr(bptr<Y>&&) noexcept;
- template<detail_borrowed_ptr::DerivedFrom<T> Y> CORRADE_ALWAYS_INLINE bptr& operator=(bptr<Y>&&) noexcept;
+ bptr(const bptr&) noexcept;
+ bptr& operator=(const bptr&) noexcept;
+ template<detail_borrowed_ptr::DerivedFrom<T> Y> bptr(const bptr<Y>&) noexcept;
+ template<detail_borrowed_ptr::DerivedFrom<T> Y> bptr& operator=(const bptr<Y>&) noexcept;
+
+ bptr(bptr&&) noexcept;
+ bptr& operator=(bptr&&) noexcept;
+ template<detail_borrowed_ptr::DerivedFrom<T> Y> bptr(bptr<Y>&&) noexcept;
+ template<detail_borrowed_ptr::DerivedFrom<T> Y> bptr& operator=(bptr<Y>&&) noexcept;
void reset() noexcept;
void destroy() noexcept;