forked from OSchip/llvm-project
[lldb][NFC] Don't construct a ConstString twice in LibCxxVariant
This commit is contained in:
parent
e299a08149
commit
0ed233c851
|
@ -242,7 +242,7 @@ ValueObjectSP VariantFrontEnd::GetChildAtIndex(size_t idx) {
|
|||
if (!head_value)
|
||||
return ValueObjectSP();
|
||||
|
||||
return head_value->Clone(ConstString(ConstString("Value").AsCString()));
|
||||
return head_value->Clone(ConstString("Value"));
|
||||
}
|
||||
|
||||
SyntheticChildrenFrontEnd *
|
||||
|
|
Loading…
Reference in New Issue