mirror of https://github.com/CGAL/cgal
Merge pull request #5331 from sgiraudot/Scale_space-Fix_warning_compare_unsigned_with_0-GF
[Scale Space] Fix warning, comparing size_t with 0 is always true
This commit is contained in:
commit
cda3515549
|
|
@ -265,7 +265,7 @@ public:
|
|||
*/
|
||||
Facet_const_iterator shell_begin( std::size_t shell ) const
|
||||
{
|
||||
CGAL_assertion( shell >= 0 && shell < _shells.size() );
|
||||
CGAL_assertion( shell < _shells.size() );
|
||||
return _shells[ shell ];
|
||||
}
|
||||
/// gives an iterator to the first triple in a given shell.
|
||||
|
|
@ -277,7 +277,7 @@ public:
|
|||
*/
|
||||
Facet_iterator shell_begin( std::size_t shell )
|
||||
{
|
||||
CGAL_assertion( shell >= 0 && shell < _shells.size() );
|
||||
CGAL_assertion( shell < _shells.size() );
|
||||
return _shells[ shell ];
|
||||
}
|
||||
|
||||
|
|
@ -288,7 +288,7 @@ public:
|
|||
*/
|
||||
Facet_const_iterator shell_end( std::size_t shell ) const
|
||||
{
|
||||
CGAL_assertion( shell >= 0 && shell < _shells.size() );
|
||||
CGAL_assertion( shell < _shells.size() );
|
||||
if( shell == _shells.size()-1 )
|
||||
return _surface.end();
|
||||
return _shells[ shell+1 ];
|
||||
|
|
@ -303,7 +303,7 @@ public:
|
|||
*/
|
||||
Facet_iterator shell_end( std::size_t shell )
|
||||
{
|
||||
CGAL_assertion( shell >= 0 && shell < _shells.size() );
|
||||
CGAL_assertion( shell < _shells.size() );
|
||||
if( shell == _shells.size()-1 )
|
||||
return _surface.end();
|
||||
return _shells[ shell+1 ];
|
||||
|
|
|
|||
Loading…
Reference in New Issue