New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move sortByStringFunction to StringObjectFunction.h. #18266
Move sortByStringFunction to StringObjectFunction.h. #18266
Conversation
A new Pull Request was created by @Teemperor (Raphael Isemann) for master. It involves the following packages: CommonTools/UtilAlgos @perrotta, @cmsbuild, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
At this point, shouldn't the include of CachingVariable.h be removed also from |
PhysicsTools/UtilAlgos/interface/CachingVariable.h is sometimes only included because of the sortByStringFunction template. This include however is causing a layering violation because for example CommonTools/UtilAlgos and PhysicsTools/UtilAlgos now include each other. This patch moves the sortByStringFunction template into the StringObjectFunction.h and removes the now unnecessary includes to CachingVariable.h and in StringBasedNTupler.h.
fd8cc29
to
62e382d
Compare
Seems like this header has indeed also just included this for the sortByStringFunction. |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
PhysicsTools/UtilAlgos/interface/CachingVariable.h is sometimes only
included because of the sortByStringFunction template. This include
however is causing a layering violation because for example
CommonTools/UtilAlgos and PhysicsTools/UtilAlgos now include each
other.
This patch moves the sortByStringFunction template into the
StringObjectFunction.h and removes the now unnecessary includes
to CachingVariable.h