summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-11-23 15:44:55 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-11-23 15:44:55 +0000
commiteb3ca54fd5458cde5b5ec4dd5e58a957da8498c6 (patch)
treeaa28570a7ec3ae96fabe0b1a2e86da090fc33e1f /document
parent6d8886f5f548b5636ac1c72a4b648422cffcb538 (diff)
How hard can it be to ! get ! right git diff
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/datatype/annotationtype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/datatype/annotationtype.h b/document/src/vespa/document/datatype/annotationtype.h
index 90acc5ea0ec..0657c6873f0 100644
--- a/document/src/vespa/document/datatype/annotationtype.h
+++ b/document/src/vespa/document/datatype/annotationtype.h
@@ -29,7 +29,7 @@ public:
return getId() != a2.getId() && getName() == a2.getName();
}
bool operator!=(const AnnotationType &a2) const {
- return ! (*this != a2);
+ return ! (*this == a2);
}
static const AnnotationType *const TERM;