Make CanFlushToDisk a const member function

This commit is contained in:
practicalswift committed 2020-12-06 00:54:10 +00:00
1 parent 281cf99554
commit 5021810650
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}