aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/ref.h
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2018-07-16 03:27:22 -0400
committerDeterminant <ted.sybil@gmail.com>2018-07-16 03:27:22 -0400
commit71874620e59d2ccf1d5a4f1c39c06bd2b5b0068f (patch)
tree2a13eac565d1a504a7a89b01ad51e2c6cb59d8b1 /include/salticidae/ref.h
parent766ef262f1413eaef755ea567f69c25a1d26351d (diff)
use EventContext wrapper
Diffstat (limited to 'include/salticidae/ref.h')
-rw-r--r--include/salticidae/ref.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/salticidae/ref.h b/include/salticidae/ref.h
index 972a3d1..92d6b0d 100644
--- a/include/salticidae/ref.h
+++ b/include/salticidae/ref.h
@@ -461,10 +461,10 @@ inline _WeakObjBase<T, R>::_WeakObjBase(const _RcObjBase<T, R, D> &other):
if (ctl) ctl->add_weak();
}
-template<typename T> using RcObj = RcObjBase<T, _RCCtl>;
+template<typename T, typename D = default_delete<T>> using RcObj = RcObjBase<T, _RCCtl, D>;
template<typename T> using WeakObj = WeakObjBase<T, _RCCtl>;
-template<typename T> using ArcObj = RcObjBase<T, _ARCCtl>;
+template<typename T, typename D = default_delete<T>> using ArcObj = RcObjBase<T, _ARCCtl, D>;
template<typename T> using AweakObj = WeakObjBase<T, _ARCCtl>;
}