diff --git a/kernel/utils.h b/kernel/utils.h index 5a1279ef0..31a8681f1 100644 --- a/kernel/utils.h +++ b/kernel/utils.h @@ -134,7 +134,7 @@ template , typename OPS = hash_ops> cla // We use this ordering of the edges in the adjacency matrix for // exact compatibility with an older implementation. struct IndirectCmp { - IndirectCmp(const std::vector &nodes) : nodes_(nodes) {} + IndirectCmp(const std::vector &nodes) : node_cmp_(), nodes_(nodes) {} bool operator()(int a, int b) const { log_assert(static_cast(a) < nodes_.size());