From 0d0539415f9e2f2a9acc20486cac1685e61c5801 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 9 May 2023 16:27:35 +0200 Subject: [PATCH] Use a std::vector as an underlying container for backtrack_points, so that maximal_subsets_iterator can have a noexcept move constructor by default. --- src/mc/explo/udpor/maximal_subsets_iterator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mc/explo/udpor/maximal_subsets_iterator.hpp b/src/mc/explo/udpor/maximal_subsets_iterator.hpp index d172eda1a3..2c3c07f941 100644 --- a/src/mc/explo/udpor/maximal_subsets_iterator.hpp +++ b/src/mc/explo/udpor/maximal_subsets_iterator.hpp @@ -58,7 +58,7 @@ private: bool has_started_searching = false; std::optional maximum_subset_size = std::nullopt; std::optional current_maximal_set = std::nullopt; - std::stack backtrack_points = std::stack(); + std::stack> backtrack_points; /** * @brief A small class which provides functionality for managing -- 2.20.1