diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc
index 416d96862..3a68d3cb9 100644
--- a/passes/techmap/techmap.cc
+++ b/passes/techmap/techmap.cc
@@ -79,7 +79,7 @@ struct TechmapWorker
 		RTLIL::SigSpec value;
 	};
 
-	typedef std::map<IdString, std::vector<TechmapWireData>> TechmapWires;
+	typedef dict<IdString, std::vector<TechmapWireData>> TechmapWires;
 
 	bool extern_mode;
 	bool assert_mode;