diff --git a/cxxheaderparser/parser.py b/cxxheaderparser/parser.py index ff0f04b..ed5a99a 100644 --- a/cxxheaderparser/parser.py +++ b/cxxheaderparser/parser.py @@ -2307,6 +2307,9 @@ def _parse_operator_conversion( cmods.validate(var_ok=False, meth_ok=False, msg="parsing conversion operator") + # Check for any cv decorations for the type + rtype = self._parse_cv_ptr(ctype) + # then this must be a method self._next_token_must_be("(") @@ -2317,7 +2320,7 @@ def _parse_operator_conversion( if self._parse_function( mods, - ctype, + rtype, pqname, op, template, diff --git a/cxxheaderparser/version.py b/cxxheaderparser/version.py index c962f6a..e913ada 100644 --- a/cxxheaderparser/version.py +++ b/cxxheaderparser/version.py @@ -1 +1 @@ -__version__ = '0.0.0-93-g6ab0d00' +__version__ = '0.0.0-95-gdffcbf9'