mirror of https://github.com/CGAL/cgal
Explicitly qualify shared_ptr with boost::, otherwise there is a conflict with std::shared_ptr in C++0x mode.
This commit is contained in:
parent
0d2880a413
commit
9f6aa6b120
|
|
@ -128,7 +128,7 @@ string edge2str ( E const& e )
|
|||
}
|
||||
|
||||
template<class D>
|
||||
string audit2str ( shared_ptr<D> const& d )
|
||||
string audit2str ( boost::shared_ptr<D> const& d )
|
||||
{
|
||||
ostringstream ss ;
|
||||
ss << "[id:" << d->id ;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ private :
|
|||
optional<NT> cost ;
|
||||
optional<Point> placement ;
|
||||
} ;
|
||||
typedef shared_ptr<Data> Data_ptr ;
|
||||
typedef boost::shared_ptr<Data> Data_ptr ;
|
||||
|
||||
typedef map<int,Data_ptr> Table ;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue