Skip to content

Commit

Permalink
Merge pull request #6422 from davidlt/fix-implicit-nullptr-to-false
Browse files Browse the repository at this point in the history
Resolve implicit conversion from nullptr to false
  • Loading branch information
davidlange6 committed Nov 15, 2014
2 parents 4656107 + 0337550 commit 8931032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Geometry/EcalAlgo/src/EcalBarrelGeometry.cc
Expand Up @@ -24,7 +24,7 @@ EcalBarrelGeometry::EcalBarrelGeometry() :
m_borderMgr ( nullptr ),
m_borderPtrVec ( nullptr ) ,
m_radius ( -1. ),
m_check ( nullptr ),
m_check ( false ),
m_cellVec ( k_NumberOfCellsForCorners )
{
const int neba[] = {25,45,65,85} ;
Expand Down
2 changes: 1 addition & 1 deletion Geometry/EcalAlgo/src/EcalEndcapGeometry.cc
Expand Up @@ -22,7 +22,7 @@ EcalEndcapGeometry::EcalEndcapGeometry( void )
m_borderMgr( nullptr ),
m_borderPtrVec( nullptr ),
m_avgZ( -1 ),
m_check( nullptr ),
m_check( false ),
m_cellVec( k_NumberOfCellsForCorners )
{
m_xlo[0] = 999.;
Expand Down

0 comments on commit 8931032

Please sign in to comment.