Skip to content

Commit

Permalink
Applied clang-tidy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Sep 13, 2017
1 parent 99169db commit 5326feb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DQM/SiPixelMonitorCluster/src/SiPixelClusterSource.cc
Expand Up @@ -40,7 +40,7 @@
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
//
#include <string>
#include <stdlib.h>
#include <cstdlib>

using namespace std;
using namespace edm;
Expand Down Expand Up @@ -86,7 +86,7 @@ SiPixelClusterSource::~SiPixelClusterSource()
std::map<uint32_t,SiPixelClusterModule*>::iterator struct_iter;
for (struct_iter = thePixelStructure.begin() ; struct_iter != thePixelStructure.end() ; struct_iter++){
delete struct_iter->second;
struct_iter->second = 0;
struct_iter->second = nullptr;
}
}

Expand Down Expand Up @@ -297,7 +297,7 @@ void SiPixelClusterSource::buildStructure(const edm::EventSetup& iSetup){

for(TrackerGeometry::DetContainer::const_iterator it = pDD->dets().begin(); it != pDD->dets().end(); it++){

if(dynamic_cast<PixelGeomDetUnit const *>((*it))!=0){
if(dynamic_cast<PixelGeomDetUnit const *>((*it))!=nullptr){

DetId detId = (*it)->geographicalId();
const GeomDetUnit * geoUnit = pDD->idToDetUnit( detId );
Expand Down

0 comments on commit 5326feb

Please sign in to comment.