From 52e051cb6924266003ef21814b5ebaf2b7b45241 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 28 Aug 2018 21:30:03 -0400 Subject: ... --- include/salticidae/ref.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/salticidae/ref.h') diff --git a/include/salticidae/ref.h b/include/salticidae/ref.h index f97bd43..44eb01e 100644 --- a/include/salticidae/ref.h +++ b/include/salticidae/ref.h @@ -171,7 +171,7 @@ struct _RCCtl { struct _ARCCtl { std::atomic_size_t ref_cnt; std::atomic_size_t weak_cnt; - std::atomic_uint8_t dcnt; + std::atomic dcnt; void add_ref() { ref_cnt++; } void add_weak() { weak_cnt++; } bool release_ref() { -- cgit v1.2.3