aboutsummaryrefslogtreecommitdiff
path: root/src/support
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-06-21 21:10:00 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-08-16 10:24:18 +0200
commit36d326e8b0866df4e70f81c2aa0a2e19d544399c (patch)
treebe4837f43af4a7fb2c48753849bb3e7a9b776387 /src/support
parentd451d0bcf15d8025c3e963df033f918d646aff6a (diff)
downloadbitcoin-36d326e8b0866df4e70f81c2aa0a2e19d544399c.tar.xz
Use nullptr instead of zero (0) as the null pointer constant
Diffstat (limited to 'src/support')
-rw-r--r--src/support/lockedpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/lockedpool.h b/src/support/lockedpool.h
index f5212bc266..7641d81471 100644
--- a/src/support/lockedpool.h
+++ b/src/support/lockedpool.h
@@ -150,7 +150,7 @@ public:
* If this callback is provided and returns false, the allocation fails (hard fail), if
* it returns true the allocation proceeds, but it could warn.
*/
- LockedPool(std::unique_ptr<LockedPageAllocator> allocator, LockingFailed_Callback lf_cb_in = 0);
+ LockedPool(std::unique_ptr<LockedPageAllocator> allocator, LockingFailed_Callback lf_cb_in = nullptr);
~LockedPool();
/** Allocate size bytes from this arena.