mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -1199,7 +1199,7 @@ public:
|
||||
cmSystemTools::RemoveFile(this->File);
|
||||
}
|
||||
}
|
||||
void Release() { this->File = 0; }
|
||||
void Release() { this->File = CM_NULLPTR; }
|
||||
};
|
||||
|
||||
void cmFindPackageCommand::LoadPackageRegistryDir(std::string const& dir,
|
||||
@@ -1526,7 +1526,7 @@ class cmFileList
|
||||
public:
|
||||
cmFileList()
|
||||
: First()
|
||||
, Last(0)
|
||||
, Last(CM_NULLPTR)
|
||||
{
|
||||
}
|
||||
virtual ~cmFileList() {}
|
||||
|
||||
Reference in New Issue
Block a user