diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-18 16:32:19 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-18 16:32:19 +0200 |
commit | 58dfdfa9c8481745e5b92e33d024b0ddc5d9d9dc (patch) | |
tree | d8e064eef264947d41e2b7047363e05171f98ef7 /common | |
parent | 7ef4d0726bc2502e0d7cb15b3961da894a4e19ba (diff) | |
download | nextpnr-58dfdfa9c8481745e5b92e33d024b0ddc5d9d9dc.tar.gz nextpnr-58dfdfa9c8481745e5b92e33d024b0ddc5d9d9dc.tar.bz2 nextpnr-58dfdfa9c8481745e5b92e33d024b0ddc5d9d9dc.zip |
Getting rid of users of old IdString API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common')
-rw-r--r-- | common/design_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/design_utils.cc b/common/design_utils.cc index b0c87484..4fbd16f1 100644 --- a/common/design_utils.cc +++ b/common/design_utils.cc @@ -66,7 +66,7 @@ void print_utilisation(const Context *ctx) } log("\nDesign utilisation:\n"); for (auto type : available_types) { - log("\t%20s: %5d/%5d\n", ctx->belTypeToId(type.first).c_str(), + log("\t%20s: %5d/%5d\n", ctx->belTypeToId(type.first).c_str(ctx), get_or_default(used_types, type.first, 0), type.second); } } |