]> OCCT Git - occt-copy.git/commitdiff
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 45c034dad85abaf67e6771789029b48956b28517..1592285a88e3c9a80f23e98bfce58cac7bd3b703 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 fb92dfefbc398b6d789d162e9a83e42d5a9ac7ca..8b805740d730e126a446c95bc35677439c2b8c0e 100644 (file)
@@ -29,6 +29,7 @@
 #include <gp.hxx>
 #include <TCollection_AsciiString.hxx>
 #include <fstream>
+#include <algorithm>
 
 #ifdef HAVE_FREEIMAGE
 namespace
index 4297b021c2e93c8ee43bb924765f152641a9850c..e0558e85e2eef95affbd8b4337c752de67fddfac 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)