From 11c9952e03ba83edb7d514784e0f1f530bf54c34 Mon Sep 17 00:00:00 2001 From: Tim Stack Date: Sun, 28 Apr 2024 10:22:23 -0700 Subject: [PATCH] [build] missing include --- src/pcrepp/pcre2pp.hh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pcrepp/pcre2pp.hh b/src/pcrepp/pcre2pp.hh index 8c224ae9..9afa1a36 100644 --- a/src/pcrepp/pcre2pp.hh +++ b/src/pcrepp/pcre2pp.hh @@ -33,6 +33,7 @@ #define PCRE2_CODE_UNIT_WIDTH 8 #include +#include #include #include @@ -143,13 +144,12 @@ public: std::optional ignore_error() { - return this->match( - [](found fo) { return std::make_optional(fo); }, - [](not_found) { return std::nullopt; }, - [](error err) { - handle_error(err); - return std::nullopt; - }); + return this->match([](found fo) { return std::make_optional(fo); }, + [](not_found) { return std::nullopt; }, + [](error err) { + handle_error(err); + return std::nullopt; + }); } private: