Skip to content

Commit

Permalink
outofcore: Explictly use mt19937 random generator for boost 1.67.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Jun 11, 2018
1 parent cf5667d commit 2309bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace pcl
OutofcoreOctreeDiskContainer<PointT>::rand_gen_ (static_cast<unsigned int> (std::time(NULL)));

template<typename PointT>
boost::uuids::random_generator OutofcoreOctreeDiskContainer<PointT>::uuid_gen_ (&rand_gen_);
boost::uuids::basic_random_generator<boost::mt19937> OutofcoreOctreeDiskContainer<PointT>::uuid_gen_ (&rand_gen_);

template<typename PointT>
const uint64_t OutofcoreOctreeDiskContainer<PointT>::READ_BLOCK_SIZE_ = static_cast<uint64_t> (2e12);
Expand Down
2 changes: 1 addition & 1 deletion outofcore/include/pcl/outofcore/octree_disk_container.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ namespace pcl

static boost::mutex rng_mutex_;
static boost::mt19937 rand_gen_;
static boost::uuids::random_generator uuid_gen_;
static boost::uuids::basic_random_generator<boost::mt19937> uuid_gen_;

};
} //namespace outofcore
Expand Down

0 comments on commit 2309bda

Please sign in to comment.