diff --git a/src/3rdParty/libE57Format/src/CheckedFile.cpp b/src/3rdParty/libE57Format/src/CheckedFile.cpp index 3319d91dd3..2dc4143ccf 100644 --- a/src/3rdParty/libE57Format/src/CheckedFile.cpp +++ b/src/3rdParty/libE57Format/src/CheckedFile.cpp @@ -244,7 +244,7 @@ void CheckedFile::read( char *buf, size_t nRead, size_t /*bufSize*/ ) std::vector page_buffer_v( physicalPageSize ); char *page_buffer = &page_buffer_v[0]; - auto checksumMod = static_cast( std::nearbyint( 100.0 / checkSumPolicy_ ) ); + const auto checksumMod = static_cast( std::nearbyint( 100.0 / checkSumPolicy_ ) ); while ( nRead > 0 ) { diff --git a/src/3rdParty/libE57Format/src/ImageFileImpl.cpp b/src/3rdParty/libE57Format/src/ImageFileImpl.cpp index 6a9da7480f..15ed02a891 100644 --- a/src/3rdParty/libE57Format/src/ImageFileImpl.cpp +++ b/src/3rdParty/libE57Format/src/ImageFileImpl.cpp @@ -302,10 +302,10 @@ namespace e57 file_->seek( xmlLogicalOffset_, CheckedFile::Logical ); uint64_t xmlPhysicalOffset = file_->position( CheckedFile::Physical ); *file_ << "\n"; -#ifdef E57_OXYGEN_SUPPORT //??? \ +#ifdef E57_OXYGEN_SUPPORT /*//??? \ //??? *file_ << "\n"; + // type=\"compact\"?>\n";*/ #endif //??? need to add name space attributes to e57Root