mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
rbuild: merge what got lost from r38301
svn path=/branches/ros-amd64-bringup/; revision=39370
This commit is contained in:
@@ -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__,
|
||||
|
||||
Reference in New Issue
Block a user