From 619b02ce93751ad7741dbabd73787f6e25d5f93d Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 8 Apr 2015 20:36:55 +0200 Subject: [PATCH] Proper compile fix. --- libethereum/State.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libethereum/State.h b/libethereum/State.h index 451a34806..336c58b1a 100644 --- a/libethereum/State.h +++ b/libethereum/State.h @@ -138,6 +138,7 @@ public: static OverlayDB openDB(std::string _path, WithExisting _we = WithExisting::Trust); static OverlayDB openDB(WithExisting _we = WithExisting::Trust) { return openDB(std::string(), _we); } OverlayDB const& db() const { return m_db; } + OverlayDB& db() { return m_db; } /// @returns the set containing all addresses currently in use in Ethereum. /// @throws InterfaceNotSupported if compiled without ETH_FATDB.