mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Re-define nil as nullptr, cleaning up some potential issues along the way
This commit is contained in:
@ -61,7 +61,7 @@ plPageInfo::plPageInfo( const plLocation &loc )
|
||||
|
||||
void plPageInfo::IInit()
|
||||
{
|
||||
fAge = fPage = nil;
|
||||
fAge = fPage = "";
|
||||
fLocation.Invalidate();
|
||||
SetMajorVersion(plVersion::GetMajorVersion());
|
||||
fClassVersions.clear();
|
||||
@ -71,7 +71,7 @@ void plPageInfo::IInit()
|
||||
|
||||
plPageInfo::~plPageInfo()
|
||||
{
|
||||
SetStrings( nil, nil );
|
||||
SetStrings("", "");
|
||||
}
|
||||
|
||||
plPageInfo::plPageInfo( const plPageInfo &src )
|
||||
|
@ -1715,7 +1715,7 @@ public:
|
||||
bool plResManager::IterateKeys(plRegistryKeyIterator* iterator)
|
||||
{
|
||||
plKeyIterEater myEater(iterator);
|
||||
return IteratePages(&myEater, nil);
|
||||
return IteratePages(&myEater);
|
||||
}
|
||||
|
||||
bool plResManager::IterateKeys(plRegistryKeyIterator* iterator, const plLocation& pageToRestrictTo)
|
||||
|
Reference in New Issue
Block a user