1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #634 from taka-no-me:c++11-master

This commit is contained in:
Andrey Kamaev
2013-03-11 17:15:09 +04:00
committed by OpenCV Buildbot
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -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,
+1 -1
View File
@@ -58,7 +58,7 @@ struct Random
}}}
#elif (__GNUC__) && __GNUC__ > 3 && __GNUC_MINOR__ > 1 && !defined(__ANDROID__) && !defined(__APPLE__)
#elif (__GNUC__) && __GNUC__ > 3 && __GNUC_MINOR__ > 1 && !defined(__ANDROID__)
# if defined (__cplusplus) && __cplusplus > 201100L
# include <random>