re-add basic support for tr1 memory

This commit is contained in:
Valient Gough 2015-06-17 20:45:19 -07:00
parent c22904b795
commit 1f111e2e1a

View File

@ -22,8 +22,16 @@
#ifndef _SHARED_PTR_incl_
#define _SHARED_PTR_incl_
#include "config.h"
#ifdef HAVE_TR1_MEMORY
#include <tr1/memory>
using std::tr1::shared_ptr;
using std::tr1::dynamic_pointer_cast;
#else
#include <memory>
using std::shared_ptr;
using std::dynamic_pointer_cast;
#endif
#endif