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() {
138
138
}
139
139
140
140
// 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...>;
143
146
144
147
bool RootSignatureParser::parseParam (ParamType Ref) {
145
148
return std::visit (
146
- ParseMethods {
149
+ ParseParamTypeMethods {
147
150
[this ](Register *X) -> bool { return parseRegister (X); },
148
151
[this ](uint32_t *X) -> bool {
149
152
return consumeExpectedToken (TokenKind::pu_equal,
You can’t perform that action at this time.
0 commit comments