forked from qt-creator/qt-creator
Cdb: Strip const before template parameter lookup
Change-Id: I21226e867944c3277fcb3fec40a04436d055d9e2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -241,7 +241,7 @@ PyObject *type_TemplateArgument(Type *self, PyObject *args)
|
||||
if (innerTypes.size() <= index)
|
||||
Py_RETURN_NONE;
|
||||
|
||||
const std::string &innerType = innerTypes.at(index);
|
||||
const std::string &innerType = SymbolGroupValue::stripConst(innerTypes.at(index));
|
||||
if (numeric) {
|
||||
try {
|
||||
return Py_BuildValue("i", std::stoi(innerType));
|
||||
|
Reference in New Issue
Block a user