Commit 1ee27590 authored by hjk's avatar hjk

Debugger: Fix boost::unordered_set dumper

Change-Id: Ib356baed758437f5b549df060ca3ee62ee61b9fb
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent ca492c8f
......@@ -132,7 +132,7 @@ def qdump__boost__unordered__unordered_set(d, value):
if d.isExpanded():
innerType = d.templateArgument(value.type, 0)
bucketCount = d.extractInt(base + ptrSize)
offset = ((innerType.sizeof + ptrSize - 1) / ptrSize) * ptrSize
offset = int((innerType.sizeof + ptrSize - 1) / ptrSize) * ptrSize
with Children(d, size, maxNumChild=10000):
afterBuckets = d.extractPointer(base + 5 * ptrSize)
afterBuckets += bucketCount * ptrSize
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment