| 281 | |
| 282 | template <class TString> |
| 283 | TSharedRef TSharedRef::FromStringImpl(TString str, TRefCountedTypeCookie tagCookie) |
| 284 | { |
| 285 | auto holder = New<TStringHolder<TString>>(std::move(str), tagCookie); |
| 286 | auto ref = TRef::FromString(holder->String()); |
| 287 | return TSharedRef(ref, std::move(holder)); |
| 288 | } |
| 289 | |
| 290 | TSharedRef TSharedRef::FromString(const char* str) |
| 291 | { |
nothing calls this directly
no test coverage detected