summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/memory.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-24 13:29:05 +0000
committerAlan Conway <aconway@apache.org>2006-10-24 13:29:05 +0000
commit7853774b9e2451cb4722eb63c53fc25a51c27b1a (patch)
treecdd4edcd6f8a4bc441f11864058ca3d42e3ddb2a /qpid/cpp/src/memory.h
parentd6c117af7083bd2a18c8465fd80887f755896ead (diff)
downloadqpid-python-7853774b9e2451cb4722eb63c53fc25a51c27b1a.tar.gz
QPID-52: use of tr1 and unordered_map break build or RHEL4.
Replaced unordered_map with std::map. Use boost::shared_ptr instead of std::tr1::shared_ptr. Since we're using boost for other things now anyway it's simpler & more portable. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@467329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/memory.h')
-rw-r--r--qpid/cpp/src/memory.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/qpid/cpp/src/memory.h b/qpid/cpp/src/memory.h
deleted file mode 100644
index 2d65877adb..0000000000
--- a/qpid/cpp/src/memory.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef __UTIL_MEMORY__
-#define __UTIL_MEMORY__
-
-#if __GNUC__ < 4
- #include "boost/shared_ptr.hpp"
- namespace std {
- namespace tr1 {
- using boost::shared_ptr;
- using boost::dynamic_pointer_cast;
- using boost::static_pointer_cast;
- }
- }
-#else
- #include <tr1/memory>
-#endif
-#endif
-