summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBTypeSummary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBTypeSummary.cpp b/lldb/source/API/SBTypeSummary.cpp
index 1934f4e87f9..6abedc0750e 100644
--- a/lldb/source/API/SBTypeSummary.cpp
+++ b/lldb/source/API/SBTypeSummary.cpp
@@ -153,7 +153,7 @@ SBTypeSummary::CreateWithCallback (FormatCallback cb, uint32_t options)
TypeSummaryImplSP(
cb ? new CXXFunctionSummaryFormat(options,
[cb] (ValueObject& valobj, Stream& stm, const TypeSummaryOptions& opt) -> bool {
- BStream stream;
+ SBStream stream;
if (!cb(SBValue(valobj.GetSP()), SBTypeSummaryOptions(&opt), stream))
return false;
stm.Write(stream.GetData(), stream.GetSize());
OpenPOWER on IntegriCloud