Get rid of some size_t warnings in OpenMesh
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@839 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
||||
{
|
||||
if (element_size() != IO::UnknownSize)
|
||||
return this->BaseProperty::size_of(n_elements());
|
||||
return std::accumulate(data_.begin(), data_.end(), 0, plus());
|
||||
return std::accumulate(data_.begin(), data_.end(), size_t(0), plus());
|
||||
}
|
||||
|
||||
virtual size_t size_of(size_t _n_elem) const
|
||||
|
||||
Reference in New Issue
Block a user