mirror of https://github.com/CGAL/cgal
Classification: Workaround or VC std17 boost bug
This commit is contained in:
parent
f7a78677fc
commit
6ed2272c1d
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <CGAL/assertions.h>
|
||||
|
||||
#define CGAL_CLASSIFICATION_IMAGE_SIZE_LIMIT 100000000
|
||||
|
||||
|
|
@ -38,12 +39,15 @@ class Image
|
|||
std::shared_ptr<Map> m_sparse;
|
||||
Type m_default;
|
||||
|
||||
// Forbid using copy constructor
|
||||
Image (const Image&)
|
||||
{
|
||||
}
|
||||
|
||||
public:
|
||||
// Forbid using copy constructor
|
||||
// Make it public for a strange VC++ std17 boost-1_82 error
|
||||
// https://github.com/boostorg/core/issues/148
|
||||
Image(const Image&)
|
||||
{
|
||||
CGAL_assertion(false);
|
||||
}
|
||||
|
||||
Image () : m_width(0), m_height(0), m_depth(0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue