mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 02:27:21 +00:00
Compile fixes, needs cleaning up
This commit is contained in:
1 parent
477bf1ba45
commit
9894c1b186
32 files changed
+38
-64
No files matched your search
@@ -37,6 +37,7 @@ void LoadItems(SharedDatabase *database, const std::string &prefix) {
|
||||
|
||||
uint32 size = static_cast<uint32>(EQEmu::FixedMemoryHashSet<EQEmu::Item_Struct>::estimated_size(items, max_item));
|
||||
|
||||
auto Config = EQEmuConfig::get();
|
||||
std::string file_name = Config->SharedMemDir + prefix + std::string("items");
|
||||
EQEmu::MemoryMappedFile mmf(file_name, size);
|
||||
mmf.ZeroFile();
|
||||
|
||||
Reference in new issue
Block a user