Skip to content

Commit

Permalink
[c++] replace auto_ptr with scoped_ptr (#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
moriarty authored and SergioRAgostinho committed Nov 15, 2017
1 parent eebf94a commit 651c06a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion visualization/include/pcl/visualization/cloud_viewer.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#define PCL_CLOUD_VIEWER_H_

#include <pcl/visualization/pcl_visualizer.h> //pcl vis
#include <boost/scoped_ptr.hpp> // scoped_ptr for pre-C++11

#include <string>

Expand Down Expand Up @@ -199,7 +200,7 @@ namespace pcl
private:
/** \brief Private implementation. */
struct CloudViewer_impl;
std::auto_ptr<CloudViewer_impl> impl_;
boost::scoped_ptr<CloudViewer_impl> impl_;

boost::signals2::connection
registerMouseCallback (boost::function<void (const pcl::visualization::MouseEvent&)>);
Expand Down

0 comments on commit 651c06a

Please sign in to comment.