Skip to content

Commit a05cedf

Browse files
authored
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 <toml++/toml.hpp>`
1 parent bf869b0 commit a05cedf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/toml++/impl/date_time.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "forward_declarations.hpp"
88
#include "print_to_stream.hpp"
99
#include "header_start.hpp"
10+
#include "std_optional.hpp"
1011

1112
TOML_NAMESPACE_START
1213
{

0 commit comments

Comments
 (0)