-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add missing #include
in CondFormats/Common
#47240
Conversation
please test |
type bugfix |
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47240/43524 |
A new Pull Request was created by @fwyzard for master. It involves the following packages:
@atpathak, @consuegs, @francescobrivio, @perrotta can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
#include <string> | ||
#include <functional> | ||
#include <numeric> | ||
#include <vector> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already included in the header, not needed to be repeated here:
#include <vector> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make the change, though I'm not fond of that approach, because if one removes the #include
from the header then they have to update also the .cc
file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make the change, though I'm not fond of that approach, because if one removes the
#include
from the header then they have to update also the.cc
file.
Thank you @fwyzard
Well, in this case both vector
and string
are only used as arguments of the class methods (or related to it): if the corresponding #includes
's are removed from the header, it means that those methods will become completely different, and the .cc file would necessarily need to be modified in any case.
@@ -1,7 +1,10 @@ | |||
#include "CondFormats/Common/interface/SmallWORMDict.h" | |||
#include <algorithm> | |||
#include <string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this one, by the way
#include <string> |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47240/43526 |
Pull request #47240 was updated. @atpathak, @consuegs, @francescobrivio, @perrotta can you please check and sign again. |
+1 Size: This PR adds an extra 24KB to repository Comparison SummarySummary:
|
535a3bb
to
a48a34f
Compare
Should be ready to sign. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47240/43538 |
please test |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
+1 Size: This PR adds an extra 24KB to repository Comparison SummarySummary:
|
+1 |
PR description:
Add missing
#include
statement.Fixes the error
observed in the GCC 14 builds.
PR validation:
The code compiles.