A2-Collaboration / ant

Just another analysis toolkit for A2
3 stars 20 forks source link

Replace std::shared_ptr to std::unique_ptr in WrapTFile, AvgBuffer #36

Open neiser opened 7 years ago

neiser commented 7 years ago

Do not force the user of such utilities/wrappers to shared ownership, but provide only unique_ptr. Can still be converted to shared_ptr if required by the user. But since ROOT with its own idea about object ownership is involved, it's hard to tell if such an interface change has no side effects.