move #ifdef/#endif to include include directive and avoid redundant <memory>
This commit is contained in:
parent
8fbcf58e98
commit
51920be9a7
1 changed files with 2 additions and 2 deletions
|
@ -23,11 +23,11 @@
|
|||
#ifndef MAPNIK_MAKE_UNIQUE_HPP
|
||||
#define MAPNIK_MAKE_UNIQUE_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
// http://stackoverflow.com/questions/14131454/visual-studio-2012-cplusplus-and-c-11
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800 || !defined(_MSC_VER) && __cplusplus <= 201103L
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace std {
|
||||
|
||||
// C++14 backfill from http://herbsutter.com/gotw/_102/
|
||||
|
|
Loading…
Reference in a new issue