From 419f2d3be077fb1dbb191249bfbb2a2610be72ae Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Wed, 30 Oct 2024 11:56:43 +0100 Subject: [PATCH] Include std::optional to avoid import errors Signed-off-by: Uilian Ries --- include/pipes/helpers/optional.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/pipes/helpers/optional.hpp b/include/pipes/helpers/optional.hpp index 379b7d4..5442837 100644 --- a/include/pipes/helpers/optional.hpp +++ b/include/pipes/helpers/optional.hpp @@ -2,6 +2,9 @@ #define PIPES_OPTIONAL_HPP #include +#if __cplusplus >= 201703L +# include +#endif namespace pipes {