Client: convert partition to pointer

Prepare to make it mutable.
This commit is contained in:
Max Kellermann
2017-02-25 10:23:23 +01:00
parent c7396b0675
commit 3eee35e1f7
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ Client::OnSocketInput(void *data, size_t length)
break;
case CommandResult::KILL:
partition.instance.Shutdown();
partition->instance.Shutdown();
Close();
return InputResult::CLOSED;