summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/base/algorithm.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-18 13:48:31 +0000
committerB. Stack <bgstack15@gmail.com>2022-04-18 13:48:31 +0000
commit8a551d2eff24bdd23bc25caeb8d17207409aae38 (patch)
tree84e67ca0a1fb045a12d015fcffca9cd8087c9332 /FreeFileSync/Source/base/algorithm.h
parentMerge branch 'b11.18' into 'master' (diff)
parentadd upstream 11.20 (diff)
downloadFreeFileSync-8a551d2eff24bdd23bc25caeb8d17207409aae38.tar.gz
FreeFileSync-8a551d2eff24bdd23bc25caeb8d17207409aae38.tar.bz2
FreeFileSync-8a551d2eff24bdd23bc25caeb8d17207409aae38.zip
Merge branch 'b11.20' into 'master'11.20
add upstream 11.20 See merge request opensource-tracking/FreeFileSync!43
Diffstat (limited to 'FreeFileSync/Source/base/algorithm.h')
-rw-r--r--FreeFileSync/Source/base/algorithm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/FreeFileSync/Source/base/algorithm.h b/FreeFileSync/Source/base/algorithm.h
index 4ef7f9bb..b1ddcce3 100644
--- a/FreeFileSync/Source/base/algorithm.h
+++ b/FreeFileSync/Source/base/algorithm.h
@@ -64,7 +64,7 @@ void copyToAlternateFolder(std::span<const FileSystemObject* const> rowsToCopyOn
bool keepRelPaths,
bool overwriteIfExists,
WarningDialogs& warnings,
- ProcessCallback& callback);
+ ProcessCallback& callback /*throw X*/); //throw X
//manual deletion of files on main grid
void deleteFromGridAndHD(const std::vector<FileSystemObject*>& rowsToDeleteOnLeft, //refresh GUI grid after deletion to remove invalid rows
@@ -73,7 +73,7 @@ void deleteFromGridAndHD(const std::vector<FileSystemObject*>& rowsToDeleteOnLef
bool useRecycleBin,
//global warnings:
bool& warnRecyclerMissing,
- ProcessCallback& callback);
+ ProcessCallback& callback /*throw X*/); //throw X
struct FileDescriptor
{
@@ -95,8 +95,7 @@ public:
Zstring getTempPath(const FileDescriptor& descr) const; //returns empty if not in buffer (item not existing, error during copy)
//contract: only add files not yet in the buffer!
- void createTempFiles(const std::set<FileDescriptor>& workLoad, ProcessCallback& callback);
-
+ void createTempFiles(const std::set<FileDescriptor>& workLoad, ProcessCallback& callback /*throw X*/); //throw X
private:
TempFileBuffer (const TempFileBuffer&) = delete;
bgstack15