diff options
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() : |