aboutsummaryrefslogtreecommitdiff
path: root/tests/pa-mock.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-01-30 10:28:05 -0600
committerTed Gould <ted@gould.cx>2015-01-30 10:28:05 -0600
commit1e149cd05cf4b1bedba53e1104194662ad350de5 (patch)
tree2d704791954c70b397e9a70a2cd1600730d2b50b /tests/pa-mock.cpp
parentbc90929adb5637cc0f77dfeba64082b26c435fc7 (diff)
parent59dfdd3906fd238e5ea3606d72b938677096e2c5 (diff)
downloadayatana-indicator-sound-1e149cd05cf4b1bedba53e1104194662ad350de5.tar.gz
ayatana-indicator-sound-1e149cd05cf4b1bedba53e1104194662ad350de5.tar.bz2
ayatana-indicator-sound-1e149cd05cf4b1bedba53e1104194662ad350de5.zip
Update to trunk
Diffstat (limited to 'tests/pa-mock.cpp')
-rw-r--r--tests/pa-mock.cpp2
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++;