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

explicitly convert Time_t to RunNumber to avoid compiler warning #4285

Merged
merged 1 commit into from Jun 19, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Alignment/MillePedeAlignmentAlgorithm/src/PedeLabelerBase.cc
Expand Up @@ -24,8 +24,8 @@ const unsigned int PedeLabelerBase::theMinLabel = 1; // must be > 0

PedeLabelerBase::PedeLabelerBase(const TopLevelAlignables &alignables,
const edm::ParameterSet &config)
:theOpenRunRange(std::make_pair<RunNumber,RunNumber>(cond::timeTypeSpecs[cond::runnumber].beginValue,
cond::timeTypeSpecs[cond::runnumber].endValue))
:theOpenRunRange(std::make_pair<RunNumber,RunNumber>( RunNumber( cond::timeTypeSpecs[cond::runnumber].beginValue) , // since we know we have a runnumber here, we can
RunNumber( cond::timeTypeSpecs[cond::runnumber].endValue ) )) // simply convert the Time_t to make the compiler happy
{

}
Expand Down