mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Use const ref when possible
This commit is contained in:
@@ -53,7 +53,9 @@ void RiaImageFileCompare::reset()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiaImageFileCompare::runComparison( QString imgFileName, QString refFileName, QString diffFileName )
|
||||
bool RiaImageFileCompare::runComparison( const QString& imgFileName,
|
||||
const QString& refFileName,
|
||||
const QString& diffFileName )
|
||||
{
|
||||
reset();
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
explicit RiaImageFileCompare( QString compareExecutable );
|
||||
~RiaImageFileCompare();
|
||||
|
||||
bool runComparison( QString imgFileName, QString refFileName, QString diffFileName );
|
||||
bool runComparison( const QString& imgFileName, const QString& refFileName, const QString& diffFileName );
|
||||
bool imagesEqual() const;
|
||||
ErrorType error() const;
|
||||
QString errorMessage() const;
|
||||
|
||||
Reference in New Issue
Block a user