Skip to content
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

Fix SiStripDetInfoFileWriter::beginRun declaration and definition #6899

Merged
merged 2 commits into from Dec 17, 2014

Conversation

venturia
Copy link
Contributor

Without this fix SiStripDetInfoFileWriter does not work. Apparently it has not been used for a very long time.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @venturia for CMSSW_7_4_X.

Fix SiStripDetInfoFileWriter::beginRun declaration and definition

It involves the following packages:

CalibTracker/SiStripCommon

@diguida, @cerminar, @cmsbuild, @nclopezo, @rcastello, @mmusich can you please review it and eventually sign? Thanks.
@jlagram, @gbenelli this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@venturia
Copy link
Contributor Author

ping

@diguida
Copy link
Contributor

diguida commented Dec 17, 2014

+1
sorry for the delay...

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_7_4_X IBs unless changes (tests are also fine). This pull request will be automatically merged.

cmsbuild added a commit that referenced this pull request Dec 17, 2014
Fix SiStripDetInfoFileWriter::beginRun declaration and definition
@cmsbuild cmsbuild merged commit 08c7e30 into cms-sw:CMSSW_7_4_X Dec 17, 2014
@venturia venturia deleted the fix_sistripdetinfowriter branch December 17, 2014 20:18
@diguida
Copy link
Contributor

diguida commented Dec 17, 2014

@venturia the issue is that beginRun is a virtual method in the EDAnalyzer class. If you want to exploit polymorphism with function overriding, the signature of the function must be the same. With C++11, you can use the override keyword for such a check: think of a necessary condition for function overriding.

HTH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants