Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No StMaker functions if no StMaker loaded (#693)
In ROOT6, it isn't enough to just hide a class's functions inside an `if` clause checking the corresponding TClass's existence when the class isn't loaded. This can be demonstrated currently in SL24x by simply executing: ``` root4star -b -l -q ``` ...which produces an error when executing `rootlogoff.C` at quit. Maybe there are other solutions, but this simple proposal breaks `rootlogoff.C` into two parts, not even loading the second part unless the first part is true - test the existence of the StMaker class - execution of StMaker functions I welcome other proposals.
- Loading branch information