From 875004d300eb4b85e13c026378e39b31b6922f93 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 7 Jun 2021 21:02:43 +0100 Subject: gui: Don't destroy context when loading JSON Signed-off-by: gatecat --- common/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/command.h') diff --git a/common/command.h b/common/command.h index ba606ea2..c82bcd3a 100644 --- a/common/command.h +++ b/common/command.h @@ -37,7 +37,7 @@ class CommandHandler virtual ~CommandHandler(){}; int exec(); - std::unique_ptr load_json(std::string filename); + void load_json(Context *ctx, std::string filename); void clear(); protected: -- cgit v1.2.3