Skip to content

Commit

Permalink
Avoid clazy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 21, 2024
1 parent 0ca2c7b commit 7ce4bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/tiledscene/qgsquantizedmeshdataprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MissingFieldException : public std::exception
MissingFieldException( const char *field ) : mField( field ) { }
const char *what() const noexcept
{
return QString( "Missing field: %1" ).arg( mField ).toLocal8Bit().data();
return QString( "Missing field: %1" ).arg( mField ).toLocal8Bit().constData();
}
private:
const char *mField;
Expand Down Expand Up @@ -95,7 +95,7 @@ QgsQuantizedMeshMetadata::QgsQuantizedMeshMetadata(
{
error.append(
QObject::tr( "Failed to retrieve quantized mesh tiles metadata: %1" )
.arg( request.errorMessage().data() ) );
.arg( request.errorMessage() ) );
return;
}
const QByteArray reply = request.reply().content();
Expand Down

0 comments on commit 7ce4bb5

Please sign in to comment.