Skip to content

Commit

Permalink
Use std::shared_ptr when we have a bona fide c++11 compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed Aug 30, 2018
1 parent 6dbd0b3 commit de4725a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/galsim/Std.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
#include <memory>
using std::shared_ptr;

#elif __cplusplus > 199711L
// Also if using a real C++11 compiler, this should work.

#include <memory>
using std::shared_ptr;

#else // !_LIBCPP_VERSION
// not using libc++

Expand Down

0 comments on commit de4725a

Please sign in to comment.