diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-15 08:27:19 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-15 09:54:58 -0800 |
commit | 6b04fd15243a3741c41ff8c775dcac064f137142 (patch) | |
tree | 4b88a86b5dba0fefb9797c9e2747e81317ef6eb8 /fpga_interchange | |
parent | e60dda57f3f7856b920cbb2dd9a03bc40227bffd (diff) | |
download | nextpnr-6b04fd15243a3741c41ff8c775dcac064f137142.tar.gz nextpnr-6b04fd15243a3741c41ff8c775dcac064f137142.tar.bz2 nextpnr-6b04fd15243a3741c41ff8c775dcac064f137142.zip |
Small fixes from review.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange')
-rw-r--r-- | fpga_interchange/fpga_interchange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/fpga_interchange.cpp b/fpga_interchange/fpga_interchange.cpp index 8ff080dd..98580261 100644 --- a/fpga_interchange/fpga_interchange.cpp +++ b/fpga_interchange/fpga_interchange.cpp @@ -43,7 +43,7 @@ static void write_message(::capnp::MallocMessageBuilder & message, const std::st struct StringEnumerator { std::vector<std::string> strings; - std::map<std::string, size_t> string_to_index; + std::unordered_map<std::string, size_t> string_to_index; size_t get_index(const std::string &s) { auto result = string_to_index.emplace(s, strings.size()); |