Fixed a typo in r251080.

llvm-svn: 251083
This commit is contained in:
Sean Callanan 2015-10-23 00:37:54 +00:00
parent b91779eb28
commit 2592fb96c2
1 changed files with 1 additions and 1 deletions

View File

@ -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());