Skip to content
Snippets Groups Projects
Commit 05d73861 authored by Philippe Canal's avatar Philippe Canal
Browse files

c++17 TString to std::string conversion update

parent eacf0d1a
No related branches found
No related tags found
No related merge requests found
......@@ -611,10 +611,10 @@ Bool_t TRootSnifferFull::ProduceExe(const std::string &path, const std::string &
post_obj = (TObject *)arg_cl->New();
if (post_obj == nullptr) {
if (debug)
debug->append(TString::Format("Fail to create object of class %s\n", clname.Data()));
debug->append(TString::Format("Fail to create object of class %s\n", clname.Data()).Data());
} else {
if (debug)
debug->append(TString::Format("Reconstruct object of class %s from POST data\n", clname.Data()));
debug->append(TString::Format("Reconstruct object of class %s from POST data\n", clname.Data()).Data());
TBufferFile buf(TBuffer::kRead, fCurrentArg->GetPostDataLength(), (void *)fCurrentArg->GetPostData(), kFALSE);
buf.MapObject(post_obj, arg_cl);
post_obj->Streamer(buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment