Commit 0ed233c8 authored by Raphael Isemann's avatar Raphael Isemann
Browse files

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

parent e299a081
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 *