We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a0843 commit b5b7661Copy full SHA for b5b7661
src/ReaderImpl.cpp
@@ -414,7 +414,7 @@ namespace e57
414
{
415
if ( ( imageIndex < 0 ) || ( imageIndex >= images2D_.childCount() ) )
416
417
- return 0;
+ return false;
418
}
419
420
imageProjection = E57_NO_PROJECTION;
@@ -1297,7 +1297,7 @@ namespace e57
1297
1298
ustring name = proto.get( protoIndex ).elementName();
1299
NodeType type = proto.get( protoIndex ).type();
1300
- bool scaled = type == E57_SCALED_INTEGER ? true : false;
+ bool scaled = (type == E57_SCALED_INTEGER);
1301
// E57_EXT_surface_normals
1302
ustring norExtUri;
1303
bool haveNormalsExt = imf_.extensionsLookupPrefix( "nor", norExtUri );
0 commit comments