Skip to content

Commit

Permalink
generate
Browse files Browse the repository at this point in the history
  • Loading branch information
gen740 committed Jan 22, 2024
1 parent 8d989e9 commit 40eab2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Argo/Argo.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ class Parser {
throw ParseError("Parser did not parse argument, call parse first");
}
using AllArguments =
decltype(tuple_cat(std::declval<Args>(), std::declval<PArgs>()));
decltype(std::tuple_cat(std::declval<Args>(), std::declval<PArgs>()));

static_assert(SearchIndex<AllArguments, Name>() != -1,
"Argument does not exist");
Expand All @@ -1492,7 +1492,7 @@ class Parser {
Description description = {""}) {
auto s = make_tuple(
SubParser<Name, T>{ref(sub_parser), description.description});
auto sub_parsers = tuple_cat(subParsers, s);
auto sub_parsers = std::tuple_cat(subParsers, s);
return Parser<ID, Args, PArgs, HArg, decltype(sub_parsers)>(
std::move(this->info_), sub_parsers);
}
Expand Down

0 comments on commit 40eab2d

Please sign in to comment.