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
Changed internals of Digest to use std::array #40778
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40778/34208
|
please test |
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@makortel, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3ba1ab/30652/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
@@ -76,7 +76,7 @@ namespace edm { | |||
value_type temp1(hash); | |||
fixup_(temp1); | |||
cms::MD5Result temp; | |||
copy_all(temp1, temp.bytes); | |||
copy_all(temp1, temp.bytes.begin()); |
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.
copy_all(temp1, temp.bytes.begin()); | |
copy_all(temp1, temp.bytes.data()); |
?
begin()
supposedly returns an iterator, is it guaranteed to be a pointer ?
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.
actually no, I guess copy_all
does take an iterator...
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Changed from using a C style array to an std::array.
One of our code quality checkers was complaining about the use of sizeof to determine number of entries in the container. std::array is just cleaner.
PR validation:
Code compiles and framework unit tests pass.