]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.cpp
Add Sam Crawley to credits.
[lyx.git] / src / Compare.cpp
index 490a2ec0bdeb461e7d79cbddce454596cff52d11..1b46e6827d1674d6b454fb431d2332c6db3122a2 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "support/docstream.h"
 #include "support/lassert.h"
-#include "support/lyxalgo.h"
 #include "support/qstring_helpers.h"
 
 using namespace std;
@@ -104,11 +103,11 @@ public:
        DocPair()
        {}
 
-       DocPair(DocIterator o_, DocIterator n_)
+       DocPair(DocIterator const & o_, DocIterator const & n_)
                : o(o_), n(n_)
        {}
 
-       bool operator!=(DocPair const & rhs)
+       bool operator!=(DocPair const & rhs) const
        {
                // this might not be intuitive but correct for our purpose
                return o != rhs.o && n != rhs.n;