Commit 2ffa62b1 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Use std::shared_ptr instead of boost::shared_ptr in property maps

parent f9ed3a8c
......@@ -38,7 +38,7 @@
#else
# include <boost/property_map.hpp>
#endif
#include <boost/shared_ptr.hpp>
#include <memory>
#include <vector>
namespace boost {
......@@ -136,7 +136,7 @@ protected:
// store pointer to data, because if copy of property map resizes
// the vector, the pointer to data will be invalidated.
// I wonder if class 'pmap_ref' is simply needed.
shared_ptr< std::vector<T> > store;
std::shared_ptr< std::vector<T> > store;
IndexMap index;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment