diff --git a/src/liboslexec/pointcloud.h b/src/liboslexec/pointcloud.h index 57ab75ab3..474e92c69 100644 --- a/src/liboslexec/pointcloud.h +++ b/src/liboslexec/pointcloud.h @@ -20,6 +20,12 @@ class OSLEXECPUBLIC PointCloud { PointCloud(ustringhash filename, Partio::ParticlesDataMutable* partio_cloud, bool write); ~PointCloud(); + + PointCloud(const PointCloud&) = delete; + PointCloud(const PointCloud&&) = delete; + PointCloud& operator=(const PointCloud&) = delete; + PointCloud& operator=(const PointCloud&&) = delete; + static PointCloud* get(ustringhash filename, bool write = false); typedef std::unordered_map SortedPointRecord; // dist,index +typedef std::pair SortedPointRecord; // dist,index struct SortedPointCompare { bool operator()(const SortedPointRecord& a, const SortedPointRecord& b) {