Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace redundant type with "auto" (Sonar).
[simgrid.git] / src / mc / explo / udpor / maximal_subsets_iterator.hpp
index 2c3c07f9418d2f3a0d033c53f5b8631ceeaacd05..3c3291a2ccaf5ca6b027e312e04c4a40db929aca 100644 (file)
@@ -138,7 +138,7 @@ private:
   bool equal(const maximal_subsets_iterator& other) const { return current_maximal_set == other.current_maximal_set; }
   const EventSet& dereference() const
   {
-    static const EventSet empty_set = EventSet();
+    static const EventSet empty_set;
     if (current_maximal_set.has_value()) {
       return current_maximal_set.value();
     }