use CM_NULLPTR

This commit is contained in:
Daniel Pfeifer
2016-06-27 22:44:16 +02:00
committed by Brad King
parent b4b73f56a2
commit 1d6909a287
201 changed files with 1143 additions and 1075 deletions
+6 -5
View File
@@ -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()