diff options
| author | practicalswift <[email protected]> | 2017-06-21 21:10:00 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-08-16 10:24:18 +0200 |
| commit | 36d326e8b0866df4e70f81c2aa0a2e19d544399c (patch) | |
| tree | be4837f43af4a7fb2c48753849bb3e7a9b776387 /src/coins.cpp | |
| parent | Merge #11056: disable jni in builds (diff) | |
| download | discoin-36d326e8b0866df4e70f81c2aa0a2e19d544399c.tar.xz discoin-36d326e8b0866df4e70f81c2aa0a2e19d544399c.zip | |
Use nullptr instead of zero (0) as the null pointer constant
Diffstat (limited to 'src/coins.cpp')
| -rw-r--r-- | src/coins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coins.cpp b/src/coins.cpp index e30bda930..b45dfc334 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -14,7 +14,7 @@ bool CCoinsView::GetCoin(const COutPoint &outpoint, Coin &coin) const { return f uint256 CCoinsView::GetBestBlock() const { return uint256(); } std::vector<uint256> CCoinsView::GetHeadBlocks() const { return std::vector<uint256>(); } bool CCoinsView::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock) { return false; } -CCoinsViewCursor *CCoinsView::Cursor() const { return 0; } +CCoinsViewCursor *CCoinsView::Cursor() const { return nullptr; } bool CCoinsView::HaveCoin(const COutPoint &outpoint) const { |