diff --git a/libsrc/interface/nginterface_v2.cpp b/libsrc/interface/nginterface_v2.cpp index 9f834b9c..6ac24f40 100644 --- a/libsrc/interface/nginterface_v2.cpp +++ b/libsrc/interface/nginterface_v2.cpp @@ -1055,13 +1055,13 @@ namespace netgen template <> - void Ngx_Mesh :: SetRefinementFlag<2> (size_t elnr, bool flag) + DLL_HEADER void Ngx_Mesh :: SetRefinementFlag<2> (size_t elnr, bool flag) { mesh->SurfaceElement(elnr+1).SetRefinementFlag(flag); } template <> - void Ngx_Mesh :: SetRefinementFlag<3> (size_t elnr, bool flag) + DLL_HEADER void Ngx_Mesh :: SetRefinementFlag<3> (size_t elnr, bool flag) { mesh->VolumeElement(elnr+1).SetRefinementFlag(flag); }