attempt to fix compile on linux
This commit is contained in:
parent
7ca7ef1536
commit
e5dd7e0ec7
1 changed files with 4 additions and 1 deletions
|
@ -25,7 +25,9 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace mapnik {
|
#if __cplusplus <= 201103L
|
||||||
|
|
||||||
|
namespace std {
|
||||||
|
|
||||||
// C++14 backfill from http://herbsutter.com/gotw/_102/
|
// C++14 backfill from http://herbsutter.com/gotw/_102/
|
||||||
template<typename T, typename ...Args>
|
template<typename T, typename ...Args>
|
||||||
|
@ -34,5 +36,6 @@ inline std::unique_ptr<T> make_unique(Args&& ...args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // MAPNIK_MAKE_UNIQUE_HPP
|
#endif // MAPNIK_MAKE_UNIQUE_HPP
|
||||||
|
|
Loading…
Reference in a new issue