summaryrefslogtreecommitdiff
path: root/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.h')
-rw-r--r--src/database.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.h b/src/database.h
index 4ce80ed93..a86861379 100644
--- a/src/database.h
+++ b/src/database.h
@@ -34,8 +34,8 @@ public:
virtual void saveBlock(MapBlock *block)=0;
virtual MapBlock* loadBlock(v3s16 blockpos)=0;
- s64 getBlockAsInteger(const v3s16 pos);
- v3s16 getIntegerAsBlock(s64 i);
+ s64 getBlockAsInteger(const v3s16 pos) const;
+ v3s16 getIntegerAsBlock(const s64 i) const;
virtual void listAllLoadableBlocks(std::list<v3s16> &dst)=0;
virtual int Initialized(void)=0;
virtual ~Database() {};