diff --git a/src/butil/containers/optional.h b/src/butil/containers/optional.h index ffa5cb3bef..bde0ad2f3c 100644 --- a/src/butil/containers/optional.h +++ b/src/butil/containers/optional.h @@ -27,6 +27,9 @@ // After C++17, `optional` is an alias for `std::optional`. #if __cplusplus >= 201703L + +#include + namespace butil { using std::in_place_t; using std::in_place;