diff --git a/include/rcp.h b/include/rcp.h index d5314dd..9876e24 100644 --- a/include/rcp.h +++ b/include/rcp.h @@ -96,7 +96,7 @@ public: } }; -#define rcp_root(classname) \ +#define rcp_managed_root(classname) \ public: \ void rcp_inc() const \ { \ diff --git a/test/tests.cpp b/test/tests.cpp index ded36b2..0da1698 100644 --- a/test/tests.cpp +++ b/test/tests.cpp @@ -8,7 +8,7 @@ static int myderived_destruct; class MyBase { - rcp_root(MyBase); + rcp_managed_root(MyBase); protected: MyBase(int x, int y)