I am currently using ROOT 6.20 which has the RooCategory& RooCategory::operator=(const RooCategory&) function but need to to move to ROOT 6.22. As the function has been deleted in this ROOT version is there any way to do the same command in the new format?
/home/.../B2DhPartRecoGGSZDataLoader.cpp:25:53: error: use of deleted function 'RooCategory& RooCategory::operator=(const RooCategory&)'
_category_var = *(categories->get_category_var());