diff options
Diffstat (limited to 'StarsEx/SystemDesign.cpp')
-rw-r--r-- | StarsEx/SystemDesign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/SystemDesign.cpp b/StarsEx/SystemDesign.cpp index 4c64f57..a0f877d 100644 --- a/StarsEx/SystemDesign.cpp +++ b/StarsEx/SystemDesign.cpp @@ -48,7 +48,7 @@ SystemDesign::Initialize(const char* filename) BYTE* block; int blocklen = loader->LoadBuffer(filename, block, true); - Parser parser(new BlockReader((const char*) block, blocklen)); + Parser parser({reinterpret_cast<const char*>(block), blocklen}); Term* term = parser.ParseTerm(); if (!term) { |