diff options
Diffstat (limited to 'tests/pa-mock.cpp')
-rw-r--r-- | tests/pa-mock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pa-mock.cpp b/tests/pa-mock.cpp index 8ca2374..5dd5c9b 100644 --- a/tests/pa-mock.cpp +++ b/tests/pa-mock.cpp @@ -55,10 +55,12 @@ public: g_debug("Creating Context: %p", this); } +private: /* To ensure we're the only ones who can delete it */ ~PAMockContext () { g_debug("Destroying Context: %p", this); } +public: /* Ref counting */ void ref () { refcnt++; |