From 0d9a2bcf3c55a5161846eebaa1f42ca8c3ab193e Mon Sep 17 00:00:00 2001 From: Alexandra Heuschling Date: Sat, 16 Jan 2021 17:56:55 +0100 Subject: [PATCH] add OPENMESHDLLEXPORT macro for the windows build --- src/OpenMesh/Core/Utils/PropertyCreator.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/OpenMesh/Core/Utils/PropertyCreator.hh b/src/OpenMesh/Core/Utils/PropertyCreator.hh index f1edfa7a..763f7c9c 100644 --- a/src/OpenMesh/Core/Utils/PropertyCreator.hh +++ b/src/OpenMesh/Core/Utils/PropertyCreator.hh @@ -64,7 +64,7 @@ namespace OpenMesh { * The type of the property is specified in the classes derived from this class. * * */ -class PropertyCreator +class OPENMESHDLLEXPORT PropertyCreator { public: @@ -112,7 +112,7 @@ template <> inline void PropertyCreator::create_property (BaseKer /// Helper class that contains the implementation of the create__property methods. /// Implementation is injected into PropertyCreatorT. template -class PropertyCreatorImpl : public PropertyCreator +class OPENMESHDLLEXPORT PropertyCreatorImpl : public PropertyCreator { public: std::string type_id_string() override { return get_type_name(); } @@ -135,7 +135,7 @@ protected: /// Actual PropertyCreators specialize this class in order to add properties of type T namespace { template -class PropertyCreatorT : public PropertyCreatorImpl> +class OPENMESHDLLEXPORT PropertyCreatorT : public PropertyCreatorImpl> { }; } @@ -172,7 +172,7 @@ static PropertyCreatorT OM_CONCAT(property_creator_registration_objec * them without manually adding the property yourself you can register your type by calling the * OM_REGISTER_PROPERTY_TYPE(ClassName, TypeString) * */ -class PropertyCreationManager +class OPENMESHDLLEXPORT PropertyCreationManager { public: