forked from qt-creator/qt-creator
Cdb: fix std vector dumper in non python dumper
Task-number: QTCREATORBUG-21074 Change-Id: Iae78195b5bed1a6baa4515bf578d4f0b004eddae Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -108,7 +108,7 @@ static inline int msvcStdVectorSize(const SymbolGroupValue &v)
|
||||
const std::vector<std::string> innerTypes = v.innerTypes();
|
||||
if (innerTypes.empty())
|
||||
return -1;
|
||||
const std::string innerType = fixInnerType(SymbolGroupValue::stripPointerType(innerTypes[0]), v);
|
||||
const std::string innerType = fixInnerType(innerTypes[0], v);
|
||||
const size_t size = SymbolGroupValue::sizeOf(innerType.c_str());
|
||||
if (size == 0)
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user