Skip to content

Commit

Permalink
Fix code style and quality issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna committed Aug 16, 2017
1 parent a9a408f commit 4e7f842
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DetectorDescription/Parser/src/DDLDivision.cc
Expand Up @@ -99,7 +99,7 @@ DDLDivision::processElement( const std::string& name, const std::string& nmspace
DDDividedGeometryObject*
DDLDivision::makeDivider( const DDDivision& div, DDCompactView* cpv )
{
DDDividedGeometryObject* dg = NULL;
DDDividedGeometryObject* dg = nullptr;

switch (div.parent().solid().shape())
{
Expand Down
2 changes: 1 addition & 1 deletion DetectorDescription/Parser/src/DDLParser.cc
Expand Up @@ -136,7 +136,7 @@ DDLParser::parseOneFile( const std::string& fullname )
void
DDLParser::parse( const std::vector<unsigned char>& ablob, unsigned int bsize )
{
char* dummy(0);
char* dummy(nullptr);
MemBufInputSource mbis( &*ablob.begin(), bsize, dummy );
SAX2Parser_->parse(mbis);
}
Expand Down
2 changes: 1 addition & 1 deletion DetectorDescription/Parser/src/DDXMLElement.h
@@ -1,7 +1,7 @@
#ifndef DD_XMLElement_H
#define DD_XMLElement_H

#include <stddef.h>
#include <cstddef>
#include <iosfwd>
#include <map>
#include <string>
Expand Down

0 comments on commit 4e7f842

Please sign in to comment.