Fix includes
Clang-tidy misc-include-cleaner appears to now be enforcing
significantly more headers than previously. That is overall a good
thing, but forces us to fix some issues. This commit is largely just
taking the clang-recommended fixes and checking them in. Subsequent
patches will fix the more unique issues.
Note, that a number of new ignores are added into the .clang-tidy file.
These can be cleaned up over time as they're understood. The majority
are places where boost includes a impl/x.hpp and x.hpp, but expects you
to use the later. include-cleaner opts for the impl, but it isn't clear
why.
Change-Id: Id3fdd7ee6df6c33b2fd35626898523048dd51bfb
Signed-off-by: Ed Tanous <etanous@nvidia.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/http/utility.hpp b/http/utility.hpp
index edc34ad..48985fd 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -4,25 +4,23 @@
#include "bmcweb_config.h"
-#include <boost/callable_traits.hpp>
-#include <boost/url/parse.hpp>
+#include <sys/types.h>
+
+#include <boost/url/segments_view.hpp>
#include <boost/url/url.hpp>
-#include <boost/url/url_view.hpp>
#include <boost/url/url_view_base.hpp>
#include <nlohmann/json.hpp>
#include <array>
-#include <chrono>
+#include <concepts>
#include <cstddef>
#include <cstdint>
#include <ctime>
#include <functional>
-#include <iomanip>
+#include <initializer_list>
#include <limits>
-#include <stdexcept>
#include <string>
#include <string_view>
-#include <tuple>
#include <type_traits>
#include <utility>
#include <variant>