summaryrefslogtreecommitdiffstats
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:41 +0100
commit0cc35839ad8d3542c461130b0f275f0b2227c271 (patch)
tree7ba857befb842fbfb8f3241de8f0d59a22513b8a
parent0d584916ac41caa55e959136207c4c96357639a2 (diff)
downloadkdiff3-0cc35839ad8d3542c461130b0f275f0b2227c271.tar.gz
kdiff3-0cc35839ad8d3542c461130b0f275f0b2227c271.zip
Fix FTBFS with clang.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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;