summaryrefslogtreecommitdiff
path: root/src/lib/collator.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-23 21:03:52 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-23 21:23:25 +0100
commit210b3e7f82ce4da354174b40ec7b7a3f572cae4e (patch)
tree557059d6ec052f94f8fa3cddea34b8ab9390ae28 /src/lib/collator.cc
parented0b5670e65647a9f0555ed66f81125678d193a7 (diff)
Cleanup: const correctness.
Diffstat (limited to 'src/lib/collator.cc')
-rw-r--r--src/lib/collator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/collator.cc b/src/lib/collator.cc
index 4f52597c2..17afbe852 100644
--- a/src/lib/collator.cc
+++ b/src/lib/collator.cc
@@ -53,7 +53,7 @@ Collator::~Collator()
int
-Collator::compare (string const& utf8_a, string const& utf8_b)
+Collator::compare (string const& utf8_a, string const& utf8_b) const
{
if (_collator) {
UErrorCode error = U_ZERO_ERROR;