mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Use nullptr instead of zero (0) as the null pointer constant
This commit is contained in:
parent
d451d0bcf1
commit
36d326e8b0
16 changed files with 41 additions and 41 deletions
|
|
@ -62,7 +62,7 @@ private:
|
|||
/* Pre-base64-encoded authentication token */
|
||||
static std::string strRPCUserColonPass;
|
||||
/* Stored RPC timer interface (for unregistration) */
|
||||
static HTTPRPCTimerInterface* httpRPCTimerInterface = 0;
|
||||
static HTTPRPCTimerInterface* httpRPCTimerInterface = nullptr;
|
||||
|
||||
static void JSONErrorReply(HTTPRequest* req, const UniValue& objError, const UniValue& id)
|
||||
{
|
||||
|
|
@ -255,6 +255,6 @@ void StopHTTPRPC()
|
|||
if (httpRPCTimerInterface) {
|
||||
RPCUnsetTimerInterface(httpRPCTimerInterface);
|
||||
delete httpRPCTimerInterface;
|
||||
httpRPCTimerInterface = 0;
|
||||
httpRPCTimerInterface = nullptr;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue