C++, fix typo in internal function

This commit is contained in:
Jakob Lykke Andersen
2021-11-30 18:33:49 +01:00
parent 95969a47e5
commit 355147e893

View File

@@ -6541,7 +6541,7 @@ class DefinitionParser(BaseParser):
# ==========================================================================
def _parse_template_paramter(self) -> ASTTemplateParam:
def _parse_template_parameter(self) -> ASTTemplateParam:
self.skip_ws()
if self.skip_word('template'):
# declare a tenplate template parameter
@@ -6613,7 +6613,7 @@ class DefinitionParser(BaseParser):
pos = self.pos
err = None
try:
param = self._parse_template_paramter()
param = self._parse_template_parameter()
templateParams.append(param)
except DefinitionError as eParam:
self.pos = pos