[lldb][NFC] Don't construct a ConstString twice in LibCxxVariant

This commit is contained in:
Raphael Isemann 2020-02-10 12:23:01 +01:00
parent e299a08149
commit 0ed233c851
1 changed files with 1 additions and 1 deletions

View File

@ -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 *