From 4d93056427fa142488cff6cc77cb8cd16a31994b Mon Sep 17 00:00:00 2001 From: Ioan Sucan <isucan@willowgarage.com> Date: Mon, 29 Oct 2012 21:40:21 +0200 Subject: [PATCH] prevent copy for BVHModel --- include/fcl/BVH/BVH_model.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/fcl/BVH/BVH_model.h b/include/fcl/BVH/BVH_model.h index 1708098e..3560a57f 100644 --- a/include/fcl/BVH/BVH_model.h +++ b/include/fcl/BVH/BVH_model.h @@ -44,13 +44,15 @@ #include "fcl/BVH/BV_fitter.h" #include <vector> #include <boost/shared_ptr.hpp> +#include <boost/noncopyable.hpp> namespace fcl { /// @brief A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as a degraded version of mesh) template<typename BV> -class BVHModel : public CollisionGeometry +class BVHModel : public CollisionGeometry, + private boost::noncopyable { public: -- GitLab