diff --git a/src/Compare.cpp b/src/Compare.cpp index 75c2c2ec7a..745b3218a3 100644 --- a/src/Compare.cpp +++ b/src/Compare.cpp @@ -30,7 +30,7 @@ class Compare::Impl { public: /// Impl(Compare const & compare) - : compare_(compare), abort_(false) + : abort_(false), compare_(compare) {} /// diff --git a/src/Compare.h b/src/Compare.h index dff108e3ad..f2583aebaa 100644 --- a/src/Compare.h +++ b/src/Compare.h @@ -86,12 +86,12 @@ private: /// Starts the comparison algorithm int doCompare(); - /// The buffer with the differences marked with track changes - Buffer * const dest_buffer; - /// The old document's buffer - Buffer const * const old_buffer; /// The new document's buffer Buffer const * const new_buffer; + /// The old document's buffer + Buffer const * const old_buffer; + /// The buffer with the differences marked with track changes + Buffer * const dest_buffer; /// The options that are set in the GuiCompare dialog CompareOptions options_;