File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,15 @@ bool RootSignatureParser::parseDescriptorTableClause() {
138138}
139139
140140// Helper struct defined to use the overloaded notation of std::visit.
141- template <class ... Ts> struct ParseMethods : Ts... { using Ts::operator ()...; };
142- template <class ... Ts> ParseMethods (Ts...) -> ParseMethods<Ts...>;
141+ template <class ... Ts> struct ParseParamTypeMethods : Ts... {
142+ using Ts::operator ()...;
143+ };
144+ template <class ... Ts>
145+ ParseParamTypeMethods (Ts...) -> ParseParamTypeMethods<Ts...>;
143146
144147bool RootSignatureParser::parseParam (ParamType Ref) {
145148 return std::visit (
146- ParseMethods {
149+ ParseParamTypeMethods {
147150 [this ](Register *X) -> bool { return parseRegister (X); },
148151 [this ](uint32_t *X) -> bool {
149152 return consumeExpectedToken (TokenKind::pu_equal,
You can’t perform that action at this time.
0 commit comments