mirror of https://github.com/YosysHQ/yosys.git
Add missing initialization of node_cmp_ member.
This commit is contained in:
parent
0a37c2a301
commit
6a5799cc2e
|
@ -134,7 +134,7 @@ template <typename T, typename C = std::less<T>, typename OPS = hash_ops<T>> cla
|
||||||
// We use this ordering of the edges in the adjacency matrix for
|
// We use this ordering of the edges in the adjacency matrix for
|
||||||
// exact compatibility with an older implementation.
|
// exact compatibility with an older implementation.
|
||||||
struct IndirectCmp {
|
struct IndirectCmp {
|
||||||
IndirectCmp(const std::vector<T> &nodes) : nodes_(nodes) {}
|
IndirectCmp(const std::vector<T> &nodes) : node_cmp_(), nodes_(nodes) {}
|
||||||
bool operator()(int a, int b) const
|
bool operator()(int a, int b) const
|
||||||
{
|
{
|
||||||
log_assert(static_cast<size_t>(a) < nodes_.size());
|
log_assert(static_cast<size_t>(a) < nodes_.size());
|
||||||
|
|
Loading…
Reference in New Issue