mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix for VS2015 Update 3
This commit is contained in:
parent
1ce39a7c56
commit
f152c4924e
@ -13,6 +13,10 @@ namespace netgen
|
||||
|
||||
inline void NOOP_Deleter(void *) { ; }
|
||||
|
||||
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||
namespace boost { template<> const volatile CSGeometry* get_pointer(const volatile CSGeometry* p) { return p; } }
|
||||
#endif
|
||||
|
||||
|
||||
// a shadow solid tree using shared pointers.
|
||||
|
||||
|
@ -492,6 +492,10 @@ namespace netgen
|
||||
#include <../general/ngpython.hpp>
|
||||
namespace bp = boost::python;
|
||||
|
||||
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||
namespace boost { template<> const volatile netgen::VisualSceneGeometry* get_pointer(const volatile netgen::VisualSceneGeometry* p) { return p; } }
|
||||
#endif
|
||||
|
||||
DLL_HEADER void ExportCSGVis()
|
||||
{
|
||||
using namespace netgen;
|
||||
|
@ -9,12 +9,15 @@
|
||||
using namespace netgen;
|
||||
namespace bp = boost::python;
|
||||
|
||||
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||
namespace boost { template<> const volatile SplineGeometry2d* get_pointer(const volatile SplineGeometry2d* p) { return p; } }
|
||||
#endif
|
||||
|
||||
namespace netgen
|
||||
{
|
||||
extern std::shared_ptr<NetgenGeometry> ng_geometry;
|
||||
}
|
||||
|
||||
|
||||
DLL_HEADER void ExportGeom2d()
|
||||
{
|
||||
ModuleScope module("geom2d");
|
||||
|
@ -3533,6 +3533,10 @@ namespace netgen
|
||||
#include <../general/ngpython.hpp>
|
||||
namespace bp = boost::python;
|
||||
|
||||
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER == 190024213
|
||||
namespace boost { template<> const volatile netgen::VisualSceneMesh* get_pointer(const volatile netgen::VisualSceneMesh* p) { return p; } }
|
||||
#endif
|
||||
|
||||
DLL_HEADER void ExportMeshVis()
|
||||
{
|
||||
using namespace netgen;
|
||||
|
Loading…
Reference in New Issue
Block a user