diff options
Diffstat (limited to 'StarsEx/NetLobby.cpp')
-rw-r--r-- | StarsEx/NetLobby.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/StarsEx/NetLobby.cpp b/StarsEx/NetLobby.cpp index 8222c75..10047d1 100644 --- a/StarsEx/NetLobby.cpp +++ b/StarsEx/NetLobby.cpp @@ -360,8 +360,7 @@ NetLobby::ParseMsg(Text msg, List<NetLobbyParam>& params) { params.destroy(); - BlockReader reader(msg.data(), msg.length()); - Scanner lexer(&reader); + Scanner lexer(starshatter::foundation::Reader{msg.data(), msg.length()}); Token name = lexer.Get(); |