| 45 | } |
| 46 | |
| 47 | TGuid TGuid::FromString(TStringBuf str) |
| 48 | { |
| 49 | TGuid guid; |
| 50 | if (!FromString(str, &guid)) { |
| 51 | throw TSimpleException(Sprintf("Error parsing GUID \"%s\"", |
| 52 | std::string(str).c_str())); |
| 53 | } |
| 54 | return guid; |
| 55 | } |
| 56 | |
| 57 | bool TGuid::FromString(TStringBuf str, TGuid* result) |
| 58 | { |
nothing calls this directly
no test coverage detected