aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Woods <acron1@gmail.com>2013-11-04 08:57:55 +0000
committerAntony Woods <acron1@gmail.com>2013-11-04 08:57:55 +0000
commit14ad529438b66acc7967a38073e3a927c433a878 (patch)
tree0c4fbd72bbd1fd1a56433a874e4d533f415616d2
parent44b4de150a40a21a96ed73a7964e6125a8102f60 (diff)
Tidied up config.h.in to remove redundant guard - take two
-rw-r--r--entityx/config.h.in11
1 files changed, 0 insertions, 11 deletions
diff --git a/entityx/config.h.in b/entityx/config.h.in
index 934fadc..2e6f000 100644
--- a/entityx/config.h.in
+++ b/entityx/config.h.in
@@ -5,8 +5,6 @@
#cmakedefine ENTITYX_INSTALLED_PYTHON_PACKAGE_DIR "@ENTITYX_INSTALLED_PYTHON_PACKAGE_DIR@"
#cmakedefine ENTITYX_NEED_GET_POINTER_SHARED_PTR_SPECIALIZATION "@ENTITYX_NEED_GET_POINTER_SHARED_PTR_SPECIALIZATION@"
-#define ENTITYX_HAVE_STD_SHARED_PTR 1
-
#include <stdint.h>
#include "entityx/config.h"
@@ -18,8 +16,6 @@ static const uint64_t MAX_COMPONENTS = ENTITYX_MAX_COMPONENTS;
// Which shared_ptr implementation should we use?
-#if (ENTITYX_HAVE_STD_SHARED_PTR)
-
#include <memory>
namespace entityx {
@@ -37,13 +33,6 @@ using enable_shared_from_this = std::enable_shared_from_this<T>;
} // namespace entityx
-#else
-
-#warning "Don't have a std shared_ptr implementation to use"
-
-#endif
-
-
namespace entityx {
template <typename T>