From 7d7d1bea2d7a4b5317668f41f0d60a8bdf45788c Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Wed, 18 Oct 2023 04:09:55 +0300 Subject: [PATCH] Fix build. --- include/tgbot/bot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tgbot/bot.h b/include/tgbot/bot.h index f4719a9..cd01924 100644 --- a/include/tgbot/bot.h +++ b/include/tgbot/bot.h @@ -24,7 +24,7 @@ #define TBGOT_TO_REQUEST_ARGUMENT_REQUEST_MACRO(f, ret) \ auto f(const f##Request &r) const { \ - std::array> args; \ + std::array::value> args; \ auto i = args.begin(); \ boost::pfr::for_each_field(r, [&](auto &&field, std::integral_constant) { \ to_request_argument(i, boost::pfr::get_name(), field); \