From 5021d7ab78c5867131608b8b06bf84afa035c15d Mon Sep 17 00:00:00 2001 From: Matthew Barr Date: Fri, 22 Sep 2017 14:23:05 +1000 Subject: [PATCH] De-const the empty maps. Clang 3.8 complains about attempting to default init const objects without a user-provided constructor. --- src/nfagraph/ng_limex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nfagraph/ng_limex.cpp b/src/nfagraph/ng_limex.cpp index c4147a30..922100e7 100644 --- a/src/nfagraph/ng_limex.cpp +++ b/src/nfagraph/ng_limex.cpp @@ -851,8 +851,8 @@ u32 countAccelStates(const NGHolder &g, const ReportManager *rm, // Should have no bearing on accel calculation, so we leave these empty. const set zombies; - const unordered_map reportSquashMap; - const unordered_map squashMap; + unordered_map reportSquashMap; + unordered_map squashMap; return countAccelStates(*h, state_ids, repeats, reportSquashMap, squashMap, tops, zombies, cc);