summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-05-24 12:09:44 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-05-24 12:10:02 +0100
commit77d294db076dac19e8b549b445ffede9f7260c84 (patch)
tree828ee7a6862ec5c0bd24f97cb540625a2c647376 /src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp
parent59f8fec8a41606b3185fe3a4e276978e3e1ed5ef (diff)
parent939b9b4b7591e8a421cf048a0a84ed3e75d81d21 (diff)
Merge branch 'dev' into wip/animationwip/animation
Diffstat (limited to 'src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp')
-rw-r--r--src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp b/src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp
deleted file mode 100644
index d1abb1be6..000000000
--- a/src/3rdparty/assimp/code/BoostWorkaround/boost/make_shared.hpp
+++ /dev/null
@@ -1,57 +0,0 @@
-
-// please note that this replacement implementation does not
-// provide the performance benefit of the original, which
-// makes only one allocation as opposed to two allocations
-// (smart pointer counter and payload) which are usually
-// required if object and smart pointer are constructed
-// independently.
-
-#ifndef INCLUDED_AI_BOOST_MAKE_SHARED
-#define INCLUDED_AI_BOOST_MAKE_SHARED
-
-
-namespace boost {
-
- template <typename T>
- shared_ptr<T> make_shared() {
- return shared_ptr<T>(new T());
- }
-
- template <typename T, typename T0>
- shared_ptr<T> make_shared(const T0& t0) {
- return shared_ptr<T>(new T(t0));
- }
-
- template <typename T, typename T0,typename T1>
- shared_ptr<T> make_shared(const T0& t0, const T1& t1) {
- return shared_ptr<T>(new T(t0,t1));
- }
-
- template <typename T, typename T0,typename T1,typename T2>
- shared_ptr<T> make_shared(const T0& t0, const T1& t1, const T2& t2) {
- return shared_ptr<T>(new T(t0,t1,t2));
- }
-
- template <typename T, typename T0,typename T1,typename T2,typename T3>
- shared_ptr<T> make_shared(const T0& t0, const T1& t1, const T2& t2, const T3& t3) {
- return shared_ptr<T>(new T(t0,t1,t2,t3));
- }
-
- template <typename T, typename T0,typename T1,typename T2,typename T3, typename T4>
- shared_ptr<T> make_shared(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4) {
- return shared_ptr<T>(new T(t0,t1,t2,t3,t4));
- }
-
- template <typename T, typename T0,typename T1,typename T2,typename T3, typename T4, typename T5>
- shared_ptr<T> make_shared(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5) {
- return shared_ptr<T>(new T(t0,t1,t2,t3,t4,t5));
- }
-
- template <typename T, typename T0,typename T1,typename T2,typename T3, typename T4, typename T5, typename T6>
- shared_ptr<T> make_shared(const T0& t0, const T1& t1, const T2& t2, const T3& t3, const T4& t4, const T5& t5, const T6& t6) {
- return shared_ptr<T>(new T(t0,t1,t2,t3,t4,t5,t6));
- }
-}
-
-
-#endif