diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:21:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:21:59 +0200 |
commit | d4af25c52a28b93484ffb55e0a8027bc4ce7856f (patch) | |
tree | 853d57468d6b370711e7a5dd2c3dc7d5bac81b10 /lib/process_xml.h | |
parent | 5.8 (diff) | |
download | FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.gz FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.tar.bz2 FreeFileSync-d4af25c52a28b93484ffb55e0a8027bc4ce7856f.zip |
5.9
Diffstat (limited to 'lib/process_xml.h')
-rw-r--r-- | lib/process_xml.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/process_xml.h b/lib/process_xml.h index ec1a142f..d21f7ffc 100644 --- a/lib/process_xml.h +++ b/lib/process_xml.h @@ -57,17 +57,19 @@ struct XmlGuiConfig bool showFilteredElements; OnGuiError handleError; //reaction on error situation during synchronization bool showSyncAction; - - bool operator==(const XmlGuiConfig& other) const - { - return mainCfg == other.mainCfg && - showFilteredElements == other.showFilteredElements && - handleError == other.handleError && - showSyncAction == other.showSyncAction; - } }; +inline +bool operator==(const XmlGuiConfig& lhs, const XmlGuiConfig& rhs) +{ + return lhs.mainCfg == rhs.mainCfg && + lhs.showFilteredElements == rhs.showFilteredElements && + lhs.handleError == rhs.handleError && + lhs.showSyncAction == rhs.showSyncAction; +} + + struct XmlBatchConfig { XmlBatchConfig() : |