summaryrefslogtreecommitdiff
path: root/src/database-leveldb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/database-leveldb.h')
-rw-r--r--src/database-leveldb.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/database-leveldb.h b/src/database-leveldb.h
index 3993db0c3..52ccebe70 100644
--- a/src/database-leveldb.h
+++ b/src/database-leveldb.h
@@ -24,11 +24,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#if USE_LEVELDB
+#include <string>
#include "database.h"
#include "leveldb/db.h"
-#include <string>
-class Database_LevelDB : public Database
+class Database_LevelDB : public MapDatabase
{
public:
Database_LevelDB(const std::string &savedir);
@@ -39,6 +39,8 @@ public:
bool deleteBlock(const v3s16 &pos);
void listAllLoadableBlocks(std::vector<v3s16> &dst);
+ void beginSave() {}
+ void endSave() {}
private:
leveldb::DB *m_database;
};
@@ -46,4 +48,3 @@ private:
#endif // USE_LEVELDB
#endif
-