Skip to content

Commit

Permalink
[people] Migrate mutex, locks and cvs to C++14
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed May 15, 2019
1 parent 62dcba7 commit e50802d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion people/apps/main_ground_based_people_detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

#include <boost/thread/mutex.hpp>

#include <mutex>
#include <thread>

using namespace std::chrono_literals;
Expand All @@ -66,7 +67,7 @@ typedef pcl::PointCloud<PointT> PointCloudT;
pcl::visualization::PCLVisualizer viewer("PCL Viewer");

// Mutex: //
boost::mutex cloud_mutex;
std::mutex cloud_mutex;

enum { COLS = 640, ROWS = 480 };

Expand Down

0 comments on commit e50802d

Please sign in to comment.