summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/ModInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/ModInfo.cpp')
-rw-r--r--StarsEx/ModInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StarsEx/ModInfo.cpp b/StarsEx/ModInfo.cpp
index 7f025b7..f48b46d 100644
--- a/StarsEx/ModInfo.cpp
+++ b/StarsEx/ModInfo.cpp
@@ -106,7 +106,7 @@ bool
ModInfo::ParseModInfo(const char* block)
{
bool ok = false;
- Parser parser(new BlockReader(block));
+ Parser parser(starshatter::foundation::Reader{block});
Term* term = parser.ParseTerm();
if (!term) {