diff --git a/STL_Extension/include/CGAL/Object.h b/STL_Extension/include/CGAL/Object.h index ecad553ba40..97cb694c4f7 100644 --- a/STL_Extension/include/CGAL/Object.h +++ b/STL_Extension/include/CGAL/Object.h @@ -108,8 +108,8 @@ class Object #endif // implicit constructor from optionals containing variants - template - Object(const boost::optional& t) { + template + Object(const boost::optional< boost::variant >& t) { // we cannot invoke another ctor from here, so we have to behave // like the copy ctor of our base if(t) {