summaryrefslogtreecommitdiff
path: root/algorithm.h
diff options
context:
space:
mode:
Diffstat (limited to 'algorithm.h')
-rw-r--r--algorithm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/algorithm.h b/algorithm.h
index f05eb95d..13d3d0fc 100644
--- a/algorithm.h
+++ b/algorithm.h
@@ -17,7 +17,9 @@ namespace FreeFileSync
bool endsWithPathSeparator(const Zstring& name);
- void swapGrids(FolderComparison& folderCmp);
+ void swapGrids(const SyncConfiguration& config, FolderComparison& folderCmp);
+
+ void redetermineSyncDirection(const SyncConfiguration& config, FolderComparison& folderCmp);
void addSubElements(const FileComparison& fileCmp, const FileCompareLine& relevantRow, std::set<int>& subElements);
@@ -62,7 +64,7 @@ inline
bool FreeFileSync::endsWithPathSeparator(const Zstring& name)
{
const size_t len = name.length();
- return len && (name[len - 1] == GlobalResources::FILE_NAME_SEPARATOR);
+ return len && (name[len - 1] == FreeFileSync::FILE_NAME_SEPARATOR);
}
bgstack15