summaryrefslogtreecommitdiff
path: root/addon/doxysearch
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2022-12-27 12:33:07 +0900
committerJinWang An <jinwang.an@samsung.com>2022-12-27 12:33:07 +0900
commit15e5c5601a13a41757e2a5e1a9105d1714d40215 (patch)
treeb3d78685874664026425debdf3298c29c8eb5dda /addon/doxysearch
parent558fa54c62ec59357cb5c40a411f16f1c1754f33 (diff)
downloaddoxygen-15e5c5601a13a41757e2a5e1a9105d1714d40215.tar.gz
doxygen-15e5c5601a13a41757e2a5e1a9105d1714d40215.tar.bz2
doxygen-15e5c5601a13a41757e2a5e1a9105d1714d40215.zip
Imported Upstream version 1.9.3upstream/1.9.3
Diffstat (limited to 'addon/doxysearch')
-rw-r--r--addon/doxysearch/doxysearch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxysearch/doxysearch.cpp b/addon/doxysearch/doxysearch.cpp
index 26517bd..7b88807 100644
--- a/addon/doxysearch/doxysearch.cpp
+++ b/addon/doxysearch/doxysearch.cpp
@@ -150,7 +150,7 @@ struct WordPosition
/** Class representing the '<' operator for WordPosition objects based on position. */
struct WordPosition_less
{
- bool operator()(const WordPosition &p1,const WordPosition &p2)
+ bool operator()(const WordPosition &p1,const WordPosition &p2) const
{
return p1.start<p2.start;
}
@@ -167,7 +167,7 @@ struct Fragment
/** Class representing the '>' operator for Fragment objects based on occurrence. */
struct Fragment_greater
{
- bool operator()(const Fragment &p1,const Fragment &p2)
+ bool operator()(const Fragment &p1,const Fragment &p2) const
{
return p1.occurrences>p2.occurrences;
}