Commit 56f33957 authored by Sven Strickroth's avatar Sven Strickroth

Use a reference instead of a copy

Signed-off-by: Sven Strickroth's avatarSven Strickroth <>
parent 3e194359
......@@ -255,7 +255,7 @@ bool GitPatch::PatchPath(const CString& path)
int GitPatch::GetPatchResult(const CString& sPath, CString& sSavePath, CString& sRejectPath, CString &sBasePath) const
for (const auto filePath : m_filePaths)
for (const auto& filePath : m_filePaths)
if (Strip(filePath.path).CompareNoCase(sPath) == 0)
Markdown is supported
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