summaryrefslogtreecommitdiff
path: root/src/lib/collator.h
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.h
parented0b5670e65647a9f0555ed66f81125678d193a7 (diff)
Cleanup: const correctness.
Diffstat (limited to 'src/lib/collator.h')
-rw-r--r--src/lib/collator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/collator.h b/src/lib/collator.h
index 3762f2400..d42278124 100644
--- a/src/lib/collator.h
+++ b/src/lib/collator.h
@@ -38,7 +38,7 @@ public:
Collator(Collator const &) = delete;
Collator& operator=(Collator const&) = delete;
- int compare(std::string const& utf8_a, std::string const& utf8_b);
+ int compare(std::string const& utf8_a, std::string const& utf8_b) const;
private:
UCollator* _collator = nullptr;