move #ifdef/#endif to include include directive and avoid redundant <memory>

This commit is contained in:
artemp 2015-12-02 14:30:59 +00:00
parent 8fbcf58e98
commit 51920be9a7

View file

@ -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/