aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_util.h')
-rw-r--r--src/rt/rust_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_util.h b/src/rt/rust_util.h
index 6f34dad9..62ac7de2 100644
--- a/src/rt/rust_util.h
+++ b/src/rt/rust_util.h
@@ -5,7 +5,7 @@
template <typename T>
rc_base<T>::rc_base() :
- refcnt(1)
+ ref_count(1)
{
}
@@ -85,7 +85,7 @@ ptr_vec<T>::trim(size_t sz)
template <typename T>
void
-ptr_vec<T>::swapdel(T *item)
+ptr_vec<T>::swap_delete(T *item)
{
/* Swap the endpoint into i and decr fill. */
I(dom, data);