mirror of https://github.com/CGAL/cgal
removed size_t
This commit is contained in:
parent
ed82da463f
commit
b9bd1350c3
|
|
@ -120,9 +120,9 @@ inline int CGAL_assertion_strip_unsigned(unsigned int t) {
|
|||
return static_cast<int>(t);
|
||||
}
|
||||
|
||||
inline int CGAL_assertion_strip_unsigned(size_t t) {
|
||||
/*inline int CGAL_assertion_strip_unsigned(size_t t) {
|
||||
return static_cast<int>(t);
|
||||
}
|
||||
}*/
|
||||
|
||||
#define CGAL_assert_equal(a,b) do {if (a != b) { CGAL_ERROR("" #a " = " << a); CGAL_ERROR("" #b " = " << b); CGAL_assertion(a ==b);} } while (0)
|
||||
#define CGAL_check_bounds(a,b,e) do {if (CGAL::CGAL_assertion_strip_unsigned(a) < CGAL::CGAL_assertion_strip_unsigned(b) || CGAL::CGAL_assertion_strip_unsigned(a) >=CGAL::CGAL_assertion_strip_unsigned(e)){ CGAL_ERROR("" #a " = " << a); CGAL_ERROR("[" #b "..." #e ") = [" << b << "..." << e << ")"); CGAL_assertion(0);} } while (0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue