From a05cedfa3215b4852d17124cd943e2c3eae8b1d1 Mon Sep 17 00:00:00 2001 From: Simon Gauvin Date: Mon, 18 Aug 2025 20:23:27 -0400 Subject: [PATCH] Fix missing include date_time.hpp was not including std_optional.hpp directly. It probably got it transitively from other files including it directly. This caused clangd to complain at every `#include ` --- include/toml++/impl/date_time.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/toml++/impl/date_time.hpp b/include/toml++/impl/date_time.hpp index 8957ad33..55b6e29b 100644 --- a/include/toml++/impl/date_time.hpp +++ b/include/toml++/impl/date_time.hpp @@ -7,6 +7,7 @@ #include "forward_declarations.hpp" #include "print_to_stream.hpp" #include "header_start.hpp" +#include "std_optional.hpp" TOML_NAMESPACE_START {