From: Clifford Wolf Date: Fri, 26 Dec 2014 10:05:23 +0000 (+0100) Subject: Temporary gcc 4.6 build hotfix for Yosys::dict and Yosys::nodict X-Git-Tag: yosys-0.5~217 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0c0011863c891e0c168eb2fabecf88b2f0a45b7;p=yosys.git Temporary gcc 4.6 build hotfix for Yosys::dict and Yosys::nodict --- diff --git a/kernel/yosys.h b/kernel/yosys.h index 5a6945c8f..e2daabfae 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -124,14 +124,9 @@ YOSYS_NAMESPACE_BEGIN -template , class KeyEqual = std::equal_to> -using dict = std::unordered_map; - -template , class KeyEqual = std::equal_to> -using nodict = std::unordered_set; - -template -using vector = std::vector; +#define dict std::unordered_map +#define nodict std::unordered_set +using std::vector; namespace RTLIL { struct IdString;