Make const the functions parameters

Change-Id: Ie02e3bc3cb09734164f573a0af53e4e1a5e99402
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
BogDan Vatra
2012-07-15 14:16:43 +03:00
committed by Daniel Teske
parent 29a65750f6
commit 1a5edbaff9
4 changed files with 4 additions and 4 deletions

View File

@@ -205,7 +205,7 @@ Utils::FileName DebuggerProfileInformation::debuggerCommand(const ProjectExplore
return Utils::FileName::fromString(p->value(Core::Id(DEBUGGER_INFORMATION)).toString());
}
void DebuggerProfileInformation::setDebuggerCommand(ProjectExplorer::Profile *p, Utils::FileName &command)
void DebuggerProfileInformation::setDebuggerCommand(ProjectExplorer::Profile *p, const Utils::FileName &command)
{
p->setValue(Core::Id(DEBUGGER_INFORMATION), command.toString());
}