diff options
author | John Emmas <johne53@tiscali.co.uk> | 2016-12-08 17:27:12 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2016-12-08 17:29:49 +0000 |
commit | 61693a318a2a7f3e5e633064925dc01e9f0df175 (patch) | |
tree | 8fbc8313627da90c52f80eb9a2636882af0d92f6 /libs | |
parent | 3242bbd84c70b497810480cd7b7780cb4658d088 (diff) |
Add LIBPBD_API to a function declaration
The new specialisation for ConfigVariable<float>::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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/pbd/configuration_variable.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<float>::set_from_string (std::string const & s); /** Specialisation of ConfigVariable for std::string to cope with whitespace properly */ |