diff options
author | gatecat <gatecat@ds0.me> | 2021-06-02 11:36:56 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-06-02 15:05:20 +0100 |
commit | eca1a4cee4f310c7e2c1216bd678143c1967edd4 (patch) | |
tree | 2106f7895e22f60f6d200cca6d9244bcc81a1ab9 /generic | |
parent | b8a68f5f35af49c36d6f4e86a3a1c5afa1b3215f (diff) | |
download | nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.tar.gz nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.tar.bz2 nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.zip |
Use hashlib in most remaining code
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'generic')
-rw-r--r-- | generic/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/main.cc b/generic/main.cc index 784178c6..2352b246 100644 --- a/generic/main.cc +++ b/generic/main.cc @@ -32,7 +32,7 @@ class GenericCommandHandler : public CommandHandler public: GenericCommandHandler(int argc, char **argv); virtual ~GenericCommandHandler(){}; - std::unique_ptr<Context> createContext(std::unordered_map<std::string, Property> &values) override; + std::unique_ptr<Context> createContext(dict<std::string, Property> &values) override; void setupArchContext(Context *ctx) override{}; void customBitstream(Context *ctx) override; @@ -52,7 +52,7 @@ po::options_description GenericCommandHandler::getArchOptions() void GenericCommandHandler::customBitstream(Context *ctx) {} -std::unique_ptr<Context> GenericCommandHandler::createContext(std::unordered_map<std::string, Property> &values) +std::unique_ptr<Context> GenericCommandHandler::createContext(dict<std::string, Property> &values) { ArchArgs chipArgs; if (values.find("arch.name") != values.end()) { |