summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-05 02:12:41 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-03-05 02:12:58 +0100
commit145f8af2f0c5778277f4140a4a09a51f06d6f856 (patch)
tree28917d73c5251d26f210016c6d0ef1b443c47834 /src
parentccf0a4a8c7da54fd067591af8e15ee4a21831e33 (diff)
downloadkdiff3-145f8af2f0c5778277f4140a4a09a51f06d6f856.tar.gz
kdiff3-145f8af2f0c5778277f4140a4a09a51f06d6f856.zip
Fix FTBFS with clang.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0cc35839ad8d3542c461130b0f275f0b2227c271)
Diffstat (limited to 'src')
-rw-r--r--src/diff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.h b/src/diff.h
index 3f876f8..83f6acb 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -118,7 +118,7 @@ struct Diff3Line
pFineAB=0; pFineBC=0; pFineCA=0;
}
- bool operator==( const Diff3Line& d3l )
+ bool operator==( const Diff3Line& d3l ) const
{
return lineA == d3l.lineA && lineB == d3l.lineB && lineC == d3l.lineC
&& bAEqB == d3l.bAEqB && bAEqC == d3l.bAEqC && bBEqC == d3l.bBEqC;