From 4cab617c25773d6d823d957a5030b0963db6b156 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 29 May 2015 09:13:28 +0200 Subject: [PATCH] Fix Coverity issue by initializing member --- data_structures/restriction_map.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/restriction_map.hpp b/data_structures/restriction_map.hpp index e2a89a008..98b360c25 100644 --- a/data_structures/restriction_map.hpp +++ b/data_structures/restriction_map.hpp @@ -91,7 +91,7 @@ template <> struct hash class RestrictionMap { public: - RestrictionMap() = default; + RestrictionMap() : m_count(0) {}; RestrictionMap(const std::vector &restriction_list); // Replace end v with w in each turn restriction containing u as via node