Fix build errors with c++11
This commit is contained in:
@@ -77,16 +77,9 @@ namespace
|
||||
};
|
||||
size_t colors_mum = sizeof(colors)/sizeof(colors[0]);
|
||||
|
||||
namespace {
|
||||
|
||||
template<class FwIt, class T> inline void _iota(FwIt first, FwIt last, T value)
|
||||
{
|
||||
#if (defined __cplusplus && __cplusplus > 199711L) || defined _STLPORT_MAJOR
|
||||
std::iota(first, last, value);
|
||||
#else
|
||||
while(first != last) *first++ = value++;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void computeNormals( const Octree& Octree, const std::vector<Point3f>& centers, std::vector<Point3f>& normals,
|
||||
|
Reference in New Issue
Block a user