The big NULL replacement party part 3.

Getting there I think.
This commit is contained in:
Jason Felds
2013-05-03 23:16:39 -04:00
parent ba59dd1656
commit a3f37dc2b4
73 changed files with 1880 additions and 1880 deletions
+2 -2
View File
@@ -291,7 +291,7 @@ FileSet *FilenameDB::GetFileSet( const RString &sDir_, bool bCreate )
if( !bCreate )
{
if( i == dirs.end() )
return NULL;
return nullptr;
return i->second;
}
@@ -548,7 +548,7 @@ const File *FilenameDB::GetFile( const RString &sPath )
set<File>::iterator it;
it = fs->files.find( File(Name) );
if( it == fs->files.end() )
return NULL;
return nullptr;
return &*it;
}