summaryrefslogtreecommitdiffhomepage
path: root/compat/borrowed-ptr.inl
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-15 06:43:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-15 06:43:30 +0200
commit2d2e0d19cf0fa03ea8c0dc59411205bd4f3cdc7e (patch)
tree2c50a93d1979fc36ebdebc790a30ae2fd20a12fc /compat/borrowed-ptr.inl
parent3caa77fcb5057ca40752082da095d7f8ecdcd9ef (diff)
w
Diffstat (limited to 'compat/borrowed-ptr.inl')
-rw-r--r--compat/borrowed-ptr.inl3
1 files changed, 0 insertions, 3 deletions
diff --git a/compat/borrowed-ptr.inl b/compat/borrowed-ptr.inl
index 40079377..c81f1ca0 100644
--- a/compat/borrowed-ptr.inl
+++ b/compat/borrowed-ptr.inl
@@ -143,10 +143,7 @@ bptr<T>::bptr(const bptr<Y>& other, std::nullptr_t) noexcept:
blk{other.blk}
{
if (blk)
- {
++blk->_count;
- fm_bptr_assert(blk->_count > 1);
- }
}
template<typename T>