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:
@@ -110,7 +110,7 @@ void RicfCommandFileExecutor::executeCommands( QTextStream& stream )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicfCommandFileExecutor::setExportPath( ExportType type, QString path )
|
||||
void RicfCommandFileExecutor::setExportPath( ExportType type, const QString& path )
|
||||
{
|
||||
m_exportPaths[type] = path;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
~RicfCommandFileExecutor();
|
||||
|
||||
void executeCommands( QTextStream& stream );
|
||||
void setExportPath( ExportType type, QString path );
|
||||
void setExportPath( ExportType type, const QString& path );
|
||||
QString getExportPath( ExportType type ) const;
|
||||
void setLastProjectPath( const QString& path );
|
||||
QString getLastProjectPath() const;
|
||||
|
||||
Reference in New Issue
Block a user