summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/StarSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/StarSystem.cpp')
-rw-r--r--StarsEx/StarSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/StarSystem.cpp b/StarsEx/StarSystem.cpp
index b6037b5..b8340f6 100644
--- a/StarsEx/StarSystem.cpp
+++ b/StarsEx/StarSystem.cpp
@@ -137,7 +137,7 @@ StarSystem::Load()
return;
}
- Parser parser(new BlockReader((const char*) block));
+ Parser parser(starshatter::foundation::Reader{reinterpret_cast<const char*>(block)});
Term* term = parser.ParseTerm();