From e5dd7e0ec7b84c43efaa038b5c964ae515235446 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 12 Jun 2014 19:08:30 -0700 Subject: [PATCH] attempt to fix compile on linux --- include/mapnik/make_unique.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/mapnik/make_unique.hpp b/include/mapnik/make_unique.hpp index 0434cec78..aeda304a2 100644 --- a/include/mapnik/make_unique.hpp +++ b/include/mapnik/make_unique.hpp @@ -25,7 +25,9 @@ #include -namespace mapnik { +#if __cplusplus <= 201103L + +namespace std { // C++14 backfill from http://herbsutter.com/gotw/_102/ template @@ -34,5 +36,6 @@ inline std::unique_ptr make_unique(Args&& ...args) { } } +#endif #endif // MAPNIK_MAKE_UNIQUE_HPP