Skip to content

Commit

Permalink
Made code checker happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ggovi committed Apr 27, 2018
1 parent 85c3ab1 commit 4d2e7e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CondTools/RunInfo/bin/conddb_dump_LHCInfo.cpp
Expand Up @@ -11,7 +11,7 @@ namespace cond {
class Dump_LHCInfo : public Utilities {
public:
Dump_LHCInfo();
~Dump_LHCInfo();
~Dump_LHCInfo() override;
int execute() override;
};
}
Expand Down
4 changes: 2 additions & 2 deletions CondTools/RunInfo/src/LHCInfoPopConSourceHandler.cc
Expand Up @@ -669,7 +669,7 @@ void LHCInfoPopConSourceHandler::getNewObjects() {
m_lastPayloadEmpty = true;
}
}
if( currentFillPayload.get() == 0 ){
if( currentFillPayload.get() == nullptr ){
currentFillPayload.reset( new LHCInfo() );
session.transaction().start(true);
bool foundFill = getCurrentFillData( session, cond::time::to_boost(targetIov ), *currentFillPayload );
Expand Down Expand Up @@ -734,7 +734,7 @@ void LHCInfoPopConSourceHandler::getNewObjects() {
edm::LogInfo( m_name )<<"End of sampling for current fill: endTime is "<<
boost::posix_time::to_simple_string(cond::time::to_boost(endSampling));
targetIov = endSampling;
currentFillPayload = 0;
currentFillPayload = nullptr;
more = false;
}
if( targetIov >= endIov ){
Expand Down

0 comments on commit 4d2e7e2

Please sign in to comment.