summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/SharedObject.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-11-01 02:11:58 +0000
committerAlan Conway <aconway@apache.org>2006-11-01 02:11:58 +0000
commite9aa3a26157cdbcd42fd78a539dbe2bc3c7e5752 (patch)
tree09871ceb960cf38c4ac9c33b1368677a7216114e /cpp/src/qpid/SharedObject.h
parentdda71d21e76e01918ebec2d80dd8e077f94216e0 (diff)
downloadqpid-python-e9aa3a26157cdbcd42fd78a539dbe2bc3c7e5752.tar.gz
Misc. cleanup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469753 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/SharedObject.h')
-rw-r--r--cpp/src/qpid/SharedObject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/SharedObject.h b/cpp/src/qpid/SharedObject.h
index 15f333173a..62dc82b14a 100644
--- a/cpp/src/qpid/SharedObject.h
+++ b/cpp/src/qpid/SharedObject.h
@@ -27,20 +27,20 @@ namespace qpid {
* Template to enforce shared object conventions.
* Shared object classes should inherit : public qpid::SharedObject
* That ensures Foo:
- * - has typedef boost::shared_ptr<T> SharedPtr
+ * - has typedef boost::shared_ptr<T> shared_ptr
* - has virtual destructor
* - is boost::noncopyable (no default copy or assign)
* - has a protected default constructor.
*
* Shared objects should not have public constructors.
* Make constructors protected and provide public statc create()
- * functions that return a SharedPtr.
+ * functions that return a shared_ptr.
*/
template <class T>
class SharedObject : private boost::noncopyable
{
public:
- typedef boost::shared_ptr<T> SharedPtr;
+ typedef boost::shared_ptr<T> shared_ptr;
virtual ~SharedObject() {};