From f67c81c108397de783fddbcbab4dedc5b668def8 Mon Sep 17 00:00:00 2001 From: Joseph Edwards Date: Mon, 27 May 2024 18:47:53 +0100 Subject: [PATCH] Fix includes (iwyu) --- include/libsemigroups/aho-corasick.hpp | 2 +- src/aho-corasick.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/libsemigroups/aho-corasick.hpp b/include/libsemigroups/aho-corasick.hpp index a94097a48..62286af51 100644 --- a/include/libsemigroups/aho-corasick.hpp +++ b/include/libsemigroups/aho-corasick.hpp @@ -22,11 +22,11 @@ #ifndef LIBSEMIGROUPS_AHO_CORASICK_HPP_ #define LIBSEMIGROUPS_AHO_CORASICK_HPP_ -#include // for copy, max #include // for allocator_traits<>::value_type #include // for set #include // for stack #include // for size_t +#include // for string #include // for unordered_map #include // for vector diff --git a/src/aho-corasick.cpp b/src/aho-corasick.cpp index 3742fef40..2de38ffa5 100644 --- a/src/aho-corasick.cpp +++ b/src/aho-corasick.cpp @@ -19,13 +19,16 @@ // This file contains the implementation of the AhoCorasick class. #include "libsemigroups/aho-corasick.hpp" +#include // for max, copy, reverse #include // for array #include // for basic_string, string, to_string #include // for basic_string_view, string_view #include "libsemigroups/constants.hpp" // for Undefined, UNDEFINED, operator== +#include "libsemigroups/debug.hpp" // for LIBSEMIGROUPS_ASSERT #include "libsemigroups/detail/fmt.hpp" // for format #include "libsemigroups/dot.hpp" // for Dot, Dot::Edge, Dot::Node +#include "libsemigroups/exception.hpp" // for LIBSEMIGROUPS_EXCEPTION #include "libsemigroups/types.hpp" // for word_type, letter_type namespace libsemigroups {