Commit e8d6ce1c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

CVS: Pass const string by reference



Change-Id: Ieee43c000c29a0d25984fcab1d8d5ca897d00907
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 03ffc4ea
...@@ -73,7 +73,7 @@ revision 1.1 ...@@ -73,7 +73,7 @@ revision 1.1
QList<CvsLogEntry> parseLogEntries(const QString &o, QList<CvsLogEntry> parseLogEntries(const QString &o,
const QString &directory, const QString &directory,
const QString filterCommitId) const QString &filterCommitId)
{ {
enum ParseState { FileState, RevisionState, StatusLineState }; enum ParseState { FileState, RevisionState, StatusLineState };
......
...@@ -69,7 +69,7 @@ QDebug operator<<(QDebug d, const CvsLogEntry &); ...@@ -69,7 +69,7 @@ QDebug operator<<(QDebug d, const CvsLogEntry &);
// running from the repository directory. // running from the repository directory.
QList<CvsLogEntry> parseLogEntries(const QString &output, QList<CvsLogEntry> parseLogEntries(const QString &output,
const QString &directory = QString(), const QString &directory = QString(),
const QString filterCommitId = QString()); const QString &filterCommitId = QString());
// Tortoise CVS outputs unknown files with question marks in // Tortoise CVS outputs unknown files with question marks in
// the diff output on stdout ('? foo'); remove // the diff output on stdout ('? foo'); remove
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment