From fa467e182f594c7b8c7b7a0e2dfa9b3f36854069 Mon Sep 17 00:00:00 2001 From: Meyer Zinn Date: Fri, 12 Apr 2024 02:25:00 +0000 Subject: [PATCH] fixup! huh? --- libgalois/include/galois/graphs/LS_LC_CSR_Graph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgalois/include/galois/graphs/LS_LC_CSR_Graph.h b/libgalois/include/galois/graphs/LS_LC_CSR_Graph.h index e58708c95..32dfd19e7 100644 --- a/libgalois/include/galois/graphs/LS_LC_CSR_Graph.h +++ b/libgalois/include/galois/graphs/LS_LC_CSR_Graph.h @@ -157,8 +157,8 @@ class LS_LC_CSR_Graph : private boost::noncopyable { template > inline void setEdgeData(EdgeHandle handle, E data) { m_edge_data.lazy_emplace_l( - handle, [&](EdgeData& v) { v = data; }, - [&](auto cons) { cons(handle, data); }); + handle, [&](auto& v) { v.second = data; }, + [&](auto const& cons) { cons(handle, data); }); } inline VertexTopologyID begin() const noexcept {