summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h')
-rw-r--r--cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h b/cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h
index 207bbc68f2..3177b7ea36 100644
--- a/cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h
+++ b/cpp/src/qpid/asyncStore/jrnl2/AtomicCounter.h
@@ -143,7 +143,7 @@ public:
return m_cnt < rhs;
}
-protected:
+private:
T m_cnt; ///< Internal count value
ScopedMutex m_mutex; ///< Internal lock used to increment the counter