From 74542e66ebb4ad7e5f79622b840b03a48d183a53 Mon Sep 17 00:00:00 2001 From: Jonathan Protzenko Date: Wed, 4 Nov 2015 14:20:31 -0800 Subject: [PATCH] Change the refcount to a protected member variable. --- inc/ManagedType.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ManagedType.h b/inc/ManagedType.h index b15b293..9fbda48 100644 --- a/inc/ManagedType.h +++ b/inc/ManagedType.h @@ -11,7 +11,7 @@ template class ManagedType { -private: +protected: int *ref;