From 0fc62e7920e5d803e6cd26c3ece42e2b1d2bc8b1 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 19 Jul 2017 10:18:04 -0700 Subject: [PATCH] Some DLL_HEADERs for Windows --- libsrc/meshing/meshclass.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libsrc/meshing/meshclass.hpp b/libsrc/meshing/meshclass.hpp index 4cf9c605..89834d71 100644 --- a/libsrc/meshing/meshclass.hpp +++ b/libsrc/meshing/meshclass.hpp @@ -592,8 +592,8 @@ namespace netgen /// DLL_HEADER void SetMaterial (int domnr, const string & mat); /// - const string & GetMaterial (int domnr) const; - static string defaultmat; + DLL_HEADER const string & GetMaterial (int domnr) const; + DLL_HEADER static string defaultmat; const string * GetMaterialPtr (int domnr) const // 1-based { return domnr <= materials.Size() ? materials.Get(domnr) : &defaultmat; @@ -603,13 +603,13 @@ namespace netgen DLL_HEADER void SetBCName ( int bcnr, const string & abcname ); - const string & GetBCName ( int bcnr ) const; + DLL_HEADER const string & GetBCName ( int bcnr ) const; DLL_HEADER void SetNCD2Names (int ncd2n); DLL_HEADER void SetCD2Name (int cd2nr, const string & abcname); - const string & GetCD2Name (int cd2nr ) const; - static string cd2_default_name; + DLL_HEADER const string & GetCD2Name (int cd2nr ) const; + DLL_HEADER static string cd2_default_name; string * GetCD2NamePtr (int cd2nr ) const { if (cd2nr < cd2names.Size() && cd2names[cd2nr]) return cd2names[cd2nr];