mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0024907: Compilation fails on vc12 (VS2013)
Include <algorithm> when needed.
This commit is contained in:
parent
fab29dc11a
commit
a096a7a58a
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
#include <BVH_Builder.hxx>
|
#include <BVH_Builder.hxx>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
//! Stores parameters of single node bin (slice of AABB).
|
//! Stores parameters of single node bin (slice of AABB).
|
||||||
template<class T, int N>
|
template<class T, int N>
|
||||||
struct BVH_Bin
|
struct BVH_Bin
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#include <gp.hxx>
|
#include <gp.hxx>
|
||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#ifdef HAVE_FREEIMAGE
|
#ifdef HAVE_FREEIMAGE
|
||||||
namespace
|
namespace
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#include <Image_PixMap.hxx>
|
#include <Image_PixMap.hxx>
|
||||||
#include <NCollection_AlignedAllocator.hxx>
|
#include <NCollection_AlignedAllocator.hxx>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_HANDLE (Image_PixMap, Standard_Transient)
|
IMPLEMENT_STANDARD_HANDLE (Image_PixMap, Standard_Transient)
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(Image_PixMap, Standard_Transient)
|
IMPLEMENT_STANDARD_RTTIEXT(Image_PixMap, Standard_Transient)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user