mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
use CM_NULLPTR
This commit is contained in:
committed by
Brad King
parent
b4b73f56a2
commit
1d6909a287
@@ -36,9 +36,10 @@ public:
|
||||
* Add watch to the variable
|
||||
*/
|
||||
bool AddWatch(const std::string& variable, WatchMethod method,
|
||||
void* client_data = 0, DeleteData delete_data = 0);
|
||||
void* client_data = CM_NULLPTR,
|
||||
DeleteData delete_data = CM_NULLPTR);
|
||||
void RemoveWatch(const std::string& variable, WatchMethod method,
|
||||
void* client_data = 0);
|
||||
void* client_data = CM_NULLPTR);
|
||||
|
||||
/**
|
||||
* This method is called when variable is accessed
|
||||
@@ -71,9 +72,9 @@ protected:
|
||||
void* ClientData;
|
||||
DeleteData DeleteDataCall;
|
||||
Pair()
|
||||
: Method(0)
|
||||
, ClientData(0)
|
||||
, DeleteDataCall(0)
|
||||
: Method(CM_NULLPTR)
|
||||
, ClientData(CM_NULLPTR)
|
||||
, DeleteDataCall(CM_NULLPTR)
|
||||
{
|
||||
}
|
||||
~Pair()
|
||||
|
||||
Reference in New Issue
Block a user