rbuild: merge what got lost from r38301

svn path=/branches/ros-amd64-bringup/; revision=39370
This commit is contained in:
Timo Kreuzer
2009-02-04 01:44:23 +00:00
parent e3af9afd04
commit 0b3583a39b
+2 -2
View File
@@ -32,7 +32,7 @@ Backend::Factory::ref = 0;
Backend::Factory::Factory ( const std::string& name_, const std::string& description_ )
{
string name(name_);
_strlwr ( &name[0] );
strlwr ( &name[0] );
if ( !ref++ )
factories = new map<string,Factory*>;
(*factories)[name] = this;
@@ -55,7 +55,7 @@ Backend::Factory::Create ( const string& name,
Configuration& configuration )
{
string sname ( name );
_strlwr ( &sname[0] );
strlwr ( &sname[0] );
if ( !factories || !factories->size () )
throw InvalidOperationException ( __FILE__,
__LINE__,