diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 00:53:28 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 00:54:10 +0000 |
commit | 5021810650afc3073c2af6953ff046ad4d27a1fc (patch) | |
tree | fb01d2ea75bbcdcdc12de1316a14b7032158fd44 /src/validation.h | |
parent | 281cf995547f7683a9e9186bc6384a9fb6035d10 (diff) |
Make CanFlushToDisk a const member function
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index ffb038ad75..4ec4ee8a7f 100644 --- a/src/validation.h +++ b/src/validation.h @@ -564,7 +564,7 @@ public: //! @returns whether or not the CoinsViews object has been fully initialized and we can //! safely flush this object to disk. - bool CanFlushToDisk() EXCLUSIVE_LOCKS_REQUIRED(cs_main) { + bool CanFlushToDisk() const EXCLUSIVE_LOCKS_REQUIRED(cs_main) { return m_coins_views && m_coins_views->m_cacheview; } |