From 61693a318a2a7f3e5e633064925dc01e9f0df175 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 8 Dec 2016 17:27:12 +0000 Subject: Add LIBPBD_API to a function declaration The new specialisation for ConfigVariable::set_from_string() needs to be exportable (it gets used somehow by ARDOUR::SessionConfiguration). If adding LIBPBD_API causes a problem for gcc, we could change it to LIBPBD_TEMPLATE_MEMBER_API --- libs/pbd/pbd/configuration_variable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/pbd/pbd/configuration_variable.h b/libs/pbd/pbd/configuration_variable.h index 7af7974229..143f53f218 100644 --- a/libs/pbd/pbd/configuration_variable.h +++ b/libs/pbd/pbd/configuration_variable.h @@ -90,7 +90,7 @@ class /*LIBPBD_API*/ ConfigVariable : public ConfigVariableBase }; /** Specialisation of ConfigVariable to deal with float (-inf etc) */ -template<> void +template<> LIBPBD_API void ConfigVariable::set_from_string (std::string const & s); /** Specialisation of ConfigVariable for std::string to cope with whitespace properly */ -- cgit v1.2.3