From 3f8a466daf6eba9717c27a635f2a7307cc4d03bd Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 24 Mar 2008 17:43:55 +0000 Subject: - Refactored RefCounted class to avoid virtual inheritance - Removed extraneous includes and definitions from RefCounted.h - Fixed all the places that were relying on RefCounted.h to be including the intrusive_ptr header file and were assuming that something had imported intrusive_ptr into the qpid namespace git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640479 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/PreviewSessionManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/PreviewSessionManager.cpp') diff --git a/cpp/src/qpid/broker/PreviewSessionManager.cpp b/cpp/src/qpid/broker/PreviewSessionManager.cpp index ec73082817..97a7c87e34 100644 --- a/cpp/src/qpid/broker/PreviewSessionManager.cpp +++ b/cpp/src/qpid/broker/PreviewSessionManager.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include @@ -105,7 +106,7 @@ void PreviewSessionManager::eraseExpired() { } } -void PreviewSessionManager::add(const intrusive_ptr& o) { +void PreviewSessionManager::add(const boost::intrusive_ptr& o) { observers.push_back(o); } -- cgit v1.2.1