aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-05 19:26:49 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-05 21:13:21 +0000
commit833269834d7a93d475df3091c362873501d1cb88 (patch)
tree91f99636774b0d8eecc96a9b980a64da038f0ec3 /src/blockchain_db/lmdb/db_lmdb.h
parentblockchain_db: allocate known size vector only once (diff)
downloadmonero-833269834d7a93d475df3091c362873501d1cb88.tar.xz
db_lmdb: inline check_open, it's trivial and called everywhere
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 12261dca3..9dad5fd01 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -357,7 +357,7 @@ private:
virtual void check_hard_fork_info();
virtual void drop_hard_fork_info();
- void check_open() const;
+ inline void check_open() const;
virtual bool is_read_only() const;