Added (int) cast to std::distance to prevent compiler warning message.
This commit is contained in:
parent
f229a9e9e6
commit
0b08afa4f8
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.32 2005/11/10 15:44:17 cignoni
|
||||||
|
Added casts to remove warnings
|
||||||
|
|
||||||
Revision 1.31 2005/10/07 13:27:22 turini
|
Revision 1.31 2005/10/07 13:27:22 turini
|
||||||
Minor changes in Set method: added use of template scalar type computing BBox.
|
Minor changes in Set method: added use of template scalar type computing BBox.
|
||||||
|
|
||||||
|
@ -355,7 +358,7 @@ namespace vcg {
|
||||||
{
|
{
|
||||||
OBJITER i;
|
OBJITER i;
|
||||||
Box3<FLT> b;
|
Box3<FLT> b;
|
||||||
int _size=std::distance<OBJITER>(_oBegin,_oEnd);
|
int _size=(int)std::distance<OBJITER>(_oBegin,_oEnd);
|
||||||
if(!_bbox.IsNull())
|
if(!_bbox.IsNull())
|
||||||
bbox=_bbox;
|
bbox=_bbox;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue