mirror of https://github.com/YosysHQ/yosys.git
Temporary gcc 4.6 build hotfix for Yosys::dict and Yosys::nodict
This commit is contained in:
parent
35f611e2f6
commit
e0c0011863
|
@ -124,14 +124,9 @@
|
||||||
|
|
||||||
YOSYS_NAMESPACE_BEGIN
|
YOSYS_NAMESPACE_BEGIN
|
||||||
|
|
||||||
template <class Key, class T, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
|
#define dict std::unordered_map
|
||||||
using dict = std::unordered_map<Key, T, Hash, KeyEqual>;
|
#define nodict std::unordered_set
|
||||||
|
using std::vector;
|
||||||
template <class Key, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>>
|
|
||||||
using nodict = std::unordered_set<Key, Hash, KeyEqual>;
|
|
||||||
|
|
||||||
template <class T>
|
|
||||||
using vector = std::vector<T>;
|
|
||||||
|
|
||||||
namespace RTLIL {
|
namespace RTLIL {
|
||||||
struct IdString;
|
struct IdString;
|
||||||
|
|
Loading…
Reference in New Issue