aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-08 13:08:49 +0100
committerGitHub <noreply@github.com>2021-06-08 13:08:49 +0100
commit5e18bb173575557eac49e77b9010c90f1a8ca62c (patch)
tree7bdd54bdd72a3bab18dc9a8c668763badb70f99d /common/command.h
parent8fa3088057633a431c342fb03d650ca06a92fb35 (diff)
parent875004d300eb4b85e13c026378e39b31b6922f93 (diff)
downloadnextpnr-5e18bb173575557eac49e77b9010c90f1a8ca62c.tar.gz
nextpnr-5e18bb173575557eac49e77b9010c90f1a8ca62c.tar.bz2
nextpnr-5e18bb173575557eac49e77b9010c90f1a8ca62c.zip
Merge pull request #723 from YosysHQ/gatecat/fix-722
gui: Don't destroy context when loading JSON
Diffstat (limited to 'common/command.h')
-rw-r--r--common/command.h2
1 files changed, 1 insertions, 1 deletions
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<Context> load_json(std::string filename);
+ void load_json(Context *ctx, std::string filename);
void clear();
protected: