Moved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp
This commit is contained in:
@@ -749,11 +749,7 @@ std::string Registry::createLibraryNameForExtension(const std::string& ext)
|
||||
ExtensionAliasMap::iterator itr=_extAliasMap.find(lowercase_ext);
|
||||
if (itr!=_extAliasMap.end() && ext != itr->second) return createLibraryNameForExtension(itr->second);
|
||||
|
||||
#if defined(OSG_JAVA_BUILD)
|
||||
static std::string prepend = std::string("osgPlugins-")+std::string(osgGetVersion())+std::string("/java");
|
||||
#else
|
||||
static std::string prepend = std::string("osgPlugins-")+std::string(osgGetVersion())+std::string("/");
|
||||
#endif
|
||||
std::string prepend = std::string("osgPlugins-")+std::string(osgGetVersion())+std::string("/");
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
return prepend+"cygwin_"+"osgdb_"+lowercase_ext+OSG_LIBRARY_POSTFIX_WITH_QUOTES+".dll";
|
||||
|
||||
Reference in New Issue
Block a user