wallet/db: make IsDummy() const

This method does a simple check and no modifications.
pull/764/head
Karl-Johan Alm 5 years ago
parent d366795d18
commit 7b3587b29d
No known key found for this signature in database
GPG Key ID: 57AF762DB3353322

@ -193,7 +193,7 @@ private:
* Only to be used at a low level, application should ideally not care * Only to be used at a low level, application should ideally not care
* about this. * about this.
*/ */
bool IsDummy() { return env == nullptr; } bool IsDummy() const { return env == nullptr; }
}; };
/** RAII class that provides access to a Berkeley database */ /** RAII class that provides access to a Berkeley database */

Loading…
Cancel
Save