weixin_39939665
weixin_39939665
2020-11-22 04:50

Use TClass::GetClass(), not gROOT->GetClass()

This is a trivial technical change. It is being requested for standardization, and for code commonality with the ROOT6 7_3_X branch, as these changes have already been made there. gROOT->GetClass(...) is obsolete. It just calls TClass::GetClass(...). Instead, calling TClass::GetClass() directly is recommended by the ROOT team, and it saves a function call.

该提问来源于开源项目:cms-sw/cmssw

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

7条回答