summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-16 00:09:19 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-16 00:09:19 +0100
commitd989a83517fd77aa241c1423ac00cfed62d567fe (patch)
treeb63198ad4ebc0378d084501db79ff055d19ef9c2 /src
parent9fb5e1e6d8ef084e7b48fa7c54be1ec675bee6b4 (diff)
Fix missing const.
Diffstat (limited to 'src')
-rw-r--r--src/language_tag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/language_tag.h b/src/language_tag.h
index abccdb2d..a419914c 100644
--- a/src/language_tag.h
+++ b/src/language_tag.h
@@ -173,7 +173,7 @@ public:
LanguageTag () {}
LanguageTag (std::string tag);
- boost::optional<LanguageSubtag> language() {
+ boost::optional<LanguageSubtag> language() const {
return _language;
}