From 9a2f7c7d8ead6d20809d8af59b7f9a98d0a0974b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 2 Dec 2012 11:45:57 +0000 Subject: [PATCH] From Wang Rui, build fix --- include/osgPresentation/PropertyManager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgPresentation/PropertyManager b/include/osgPresentation/PropertyManager index fa8a2aaea..47a402188 100644 --- a/include/osgPresentation/PropertyManager +++ b/include/osgPresentation/PropertyManager @@ -64,7 +64,7 @@ protected: }; -const osg::Object* OSGPRESENTATION_EXPORT getUserObject(const osg::NodePath& nodepath, const std::string& name); +extern OSGPRESENTATION_EXPORT const osg::Object* getUserObject(const osg::NodePath& nodepath, const std::string& name); template bool getUserValue(const osg::NodePath& nodepath, const std::string& name, T& value) @@ -84,7 +84,7 @@ bool getUserValue(const osg::NodePath& nodepath, const std::string& name, T& val } } -bool OSGPRESENTATION_EXPORT containsPropertyReference(const std::string& str); +extern OSGPRESENTATION_EXPORT bool containsPropertyReference(const std::string& str); struct PropertyReader {