0024907: Compilation fails on vc12 (VS2013)
authorkgv <kgv@opencascade.com>
Thu, 8 May 2014 07:38:55 +0000 (11:38 +0400)
committerapn <apn@opencascade.com>
Thu, 15 May 2014 13:49:13 +0000 (17:49 +0400)
Include <algorithm> when needed.

src/BVH/BVH_BinnedBuilder.hxx
src/Image/Image_AlienPixMap.cxx
src/Image/Image_PixMap.cxx

index 45c034d..1592285 100644 (file)
@@ -18,6 +18,8 @@
 
 #include <BVH_Builder.hxx>
 
+#include <algorithm>
+
 //! Stores parameters of single node bin (slice of AABB).
 template<class T, int N>
 struct BVH_Bin
index fb92dfe..8b80574 100644 (file)
@@ -29,6 +29,7 @@
 #include <gp.hxx>
 #include <TCollection_AsciiString.hxx>
 #include <fstream>
+#include <algorithm>
 
 #ifdef HAVE_FREEIMAGE
 namespace
index 4297b02..e0558e8 100644 (file)
@@ -16,6 +16,8 @@
 #include <Image_PixMap.hxx>
 #include <NCollection_AlignedAllocator.hxx>
 
+#include <algorithm>
+
 IMPLEMENT_STANDARD_HANDLE (Image_PixMap, Standard_Transient)
 IMPLEMENT_STANDARD_RTTIEXT(Image_PixMap, Standard_Transient)