From 6b04fd15243a3741c41ff8c775dcac064f137142 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 15 Feb 2021 08:27:19 -0800 Subject: Small fixes from review. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- fpga_interchange/fpga_interchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpga_interchange') 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 strings; - std::map string_to_index; + std::unordered_map string_to_index; size_t get_index(const std::string &s) { auto result = string_to_index.emplace(s, strings.size()); -- cgit v1.2.3