Skip to content

Commit

Permalink
STYLE: Replace integer literals which are cast to bool.
Browse files Browse the repository at this point in the history
Finds and replaces integer literals which are cast to bool.

SRCDIR= #My local SRC
BLDDIR= #My local BLD

cd
run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-use-bool-literals  -header-filter=.* -fix
  • Loading branch information
hjmjohnson committed Feb 17, 2020
1 parent f53de39 commit dff4c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itkSTLMeshIOFactory.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ::STLMeshIOFactory()
this->RegisterOverride( "itkMeshIOBase",
"itkSTLMeshIO",
"STL IO",
1,
true,
CreateObjectFunction< STLMeshIO >::New() );
}

Expand Down

0 comments on commit dff4c68

Please sign in to comment.