diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-28 09:29:58 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-07-28 19:55:55 +0200 |
| commit | ad1ce7e782e820ce2c5dd2ba3a557341f71793fd (patch) | |
| tree | f2de7e3dc4b3388617cdd2481bce30c3f4de6894 /compat/intrusive-ptr.hpp | |
| parent | 60cdd5ea15970c66e6fe3666f56da9b1d06ad79f (diff) | |
f
Diffstat (limited to 'compat/intrusive-ptr.hpp')
| -rw-r--r-- | compat/intrusive-ptr.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/intrusive-ptr.hpp b/compat/intrusive-ptr.hpp index 8e9b3d6c..c8cf6ff3 100644 --- a/compat/intrusive-ptr.hpp +++ b/compat/intrusive-ptr.hpp @@ -41,10 +41,10 @@ struct refcount_ops using Tref = T*; #endif - static constexpr inline auto incr(T* ptr) noexcept -> size_type; // todo! remove constexpr from everywhere, then move everything to .inl - static constexpr inline auto decr(Tref ptr) noexcept -> size_type; - static constexpr inline auto count(T* ptr) noexcept -> size_type; - static constexpr inline void init_to_1(T* ptr) noexcept; + static constexpr auto incr(T* ptr) noexcept -> size_type; // todo! remove constexpr from everywhere, then move everything to .inl + static constexpr auto decr(Tref ptr) noexcept -> size_type; + static constexpr auto count(T* ptr) noexcept -> size_type; + static constexpr void init_to_1(T* ptr) noexcept; }; template<typename Tag, typename T> |
