mirror of
https://github.com/boostorg/parser.git
synced 2026-01-19 04:22:13 +00:00
Use parser::get() instead of operator[] in the implementation of
param_t::operator().
This commit is contained in:
@@ -843,7 +843,7 @@ namespace boost { namespace parser {
|
||||
template<typename Context>
|
||||
decltype(auto) operator()(Context const & context) const
|
||||
{
|
||||
return parser::_params(context)[llong<I>{}];
|
||||
return parser::get(parser::_params(context), llong<I>{});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user