Add visibility attributes to rcp_managed()

This commit is contained in:
josh committed 2026-02-23 22:35:19 -05:00
1 parent eaad6ba6e0
commit 83ca3d8893
2 files changed
+14 -15

No files matched your search

+3 -6
View File
@@ -9,6 +9,7 @@ static int myderived_destruct;
class MyBase
{
rcp_root();
rcp_managed(MyBase);
protected:
MyBase(int x, int y)
@@ -20,13 +21,12 @@ protected:
{
mybase_destruct++;
}
public:
rcp_managed(MyBase);
};
class MyDerived : public MyBase
{
rcp_managed(MyDerived);
protected:
MyDerived(double v) : MyBase(1, 2)
{
@@ -37,9 +37,6 @@ protected:
{
myderived_destruct++;
}
public:
rcp_managed(MyDerived)
};
void t1()