libE57Format: Fix warnings -Wignored-qualifiers and -Wcomment

This commit is contained in:
marioalexis
2022-01-24 14:42:14 -03:00
committed by wwmayer
parent 850cb927a3
commit 4205af8d4d
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ void CheckedFile::read( char *buf, size_t nRead, size_t /*bufSize*/ )
std::vector<char> page_buffer_v( physicalPageSize );
char *page_buffer = &page_buffer_v[0];
auto checksumMod = static_cast<const unsigned int>( std::nearbyint( 100.0 / checkSumPolicy_ ) );
const auto checksumMod = static_cast<unsigned int>( std::nearbyint( 100.0 / checkSumPolicy_ ) );
while ( nRead > 0 )
{

View File

@@ -302,10 +302,10 @@ namespace e57
file_->seek( xmlLogicalOffset_, CheckedFile::Logical );
uint64_t xmlPhysicalOffset = file_->position( CheckedFile::Physical );
*file_ << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
#ifdef E57_OXYGEN_SUPPORT //??? \
#ifdef E57_OXYGEN_SUPPORT /*//??? \
//??? *file_ << "<?oxygen \
// RNGSchema=\"file:/C:/kevin/astm/DataFormat/xif/las_v0_05.rnc\" \
// type=\"compact\"?>\n";
// type=\"compact\"?>\n";*/
#endif
//??? need to add name space attributes to e57Root