diff options
Diffstat (limited to 'StarsEx/Galaxy.cpp')
-rw-r--r-- | StarsEx/Galaxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/Galaxy.cpp b/StarsEx/Galaxy.cpp index 3d4e02d..5759738 100644 --- a/StarsEx/Galaxy.cpp +++ b/StarsEx/Galaxy.cpp @@ -98,7 +98,7 @@ Galaxy::Load(const char* filename) DataLoader* loader = DataLoader::GetLoader(); loader->LoadBuffer(filename, block, true); - Parser parser(new BlockReader((const char*) block)); + Parser parser(starshatter::foundation::Reader{reinterpret_cast<const char*>(block)}); Term* term = parser.ParseTerm(); |