libE57Format: Fix warnings -Wignored-qualifiers and -Wcomment
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user