From 5b725db033c656bda5e718ea05a79005946e089e Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 8 May 2015 00:03:15 +0200 Subject: Core/Garrisons: Basics for garrisons --- src/server/shared/DataStores/DB2Store.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/shared/DataStores') diff --git a/src/server/shared/DataStores/DB2Store.h b/src/server/shared/DataStores/DB2Store.h index 4ce77c1cd28..c541a6651a3 100644 --- a/src/server/shared/DataStores/DB2Store.h +++ b/src/server/shared/DataStores/DB2Store.h @@ -112,6 +112,8 @@ public: void EraseRecord(uint32 id) override { if (id < _indexTableSize) _indexTable.AsT[id] = nullptr; } T const* LookupEntry(uint32 id) const { return (id >= _indexTableSize) ? nullptr : _indexTable.AsT[id]; } + T const* AssertEntry(uint32 id) const { return ASSERT_NOTNULL(LookupEntry(id)); } + std::string const& GetFileName() const { return _fileName; } uint32 GetNumRows() const { return _indexTableSize; } char const* GetFormat() const { return _format; } -- cgit v1.2.3