projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
35ac22f
)
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 25 Nov 2013 09:16:23 +0000
(10:16 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 25 Nov 2013 09:16:23 +0000
(10:16 +0100)
src/filter_sort.cpp
patch
|
blob
|
history
diff --git
a/src/filter_sort.cpp
b/src/filter_sort.cpp
index
e36e8cd
..
d6a1993
100644
(file)
--- a/
src/filter_sort.cpp
+++ b/
src/filter_sort.cpp
@@
-70,7
+70,7
@@
namespace metaproxy_1 {
Record(Z_NamePlusRecord *n, const char *namespaces,
const char *expr, bool debug);
~Record();
- bool operator < (const Record &rhs);
+ bool operator < (const Record &rhs) const;
};
class Sort::RecordList : boost::noncopyable {
Odr_oid *syntax;
@@
-286,7
+286,7
@@
yf::Sort::Record::~Record()
{
}
-bool yf::Sort::Record::operator < (const Record &rhs)
+bool yf::Sort::Record::operator < (const Record &rhs) const
{
if (strcmp(this->score.c_str(), rhs.score.c_str()) < 0)
return true;