mirror of https://github.com/CGAL/cgal
Warning fix: explicit conversion to size_type
This commit is contained in:
parent
af78f66230
commit
800c16f2e1
|
|
@ -128,7 +128,7 @@ public:
|
||||||
size_type value;
|
size_type value;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Index (const Index& index) : value (index) { }
|
Index (const Index& index) : value (static_cast<size_type>(index)) { }
|
||||||
Index (const std::size_t& value) : value (static_cast<size_type>(value)) { }
|
Index (const std::size_t& value) : value (static_cast<size_type>(value)) { }
|
||||||
Index () : value (static_cast<size_type>(-1)) { }
|
Index () : value (static_cast<size_type>(-1)) { }
|
||||||
Index operator= (const Index& index) { value = index.value; return *this; }
|
Index operator= (const Index& index) { value = index.value; return *this; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue