summaryrefslogtreecommitdiff
path: root/cpp/lib/common/shared_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/common/shared_ptr.h')
-rw-r--r--cpp/lib/common/shared_ptr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/lib/common/shared_ptr.h b/cpp/lib/common/shared_ptr.h
index 6725f7acb3..c4d547e5bb 100644
--- a/cpp/lib/common/shared_ptr.h
+++ b/cpp/lib/common/shared_ptr.h
@@ -20,10 +20,15 @@
*/
#include <boost/shared_ptr.hpp>
+#include <boost/cast.hpp>
namespace qpid {
-/// Import shared_ptr into qpid namespace.
+/// Import shared_ptr definitions into qpid namespace.
using boost::shared_ptr;
+using boost::dynamic_pointer_cast;
+using boost::static_pointer_cast;
+using boost::const_pointer_cast;
+using boost::shared_polymorphic_downcast;
} // namespace qpid