summaryrefslogtreecommitdiff
path: root/src/language_tag.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-24 23:57:38 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-24 23:59:36 +0100
commit785c03546ae8276a1f0cd54c44b26513d6ed91d2 (patch)
treef9908e06df10b6d21cfc93e12b6eda999daa61ce /src/language_tag.cc
parente46870be9e7544d102b9612680b321fbf52c73f2 (diff)
Tidy up some operators, made possible by the previous-but-one commit.
Diffstat (limited to 'src/language_tag.cc')
-rw-r--r--src/language_tag.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/language_tag.cc b/src/language_tag.cc
index 532dd557..8faf226c 100644
--- a/src/language_tag.cc
+++ b/src/language_tag.cc
@@ -332,33 +332,6 @@ LanguageTag::subtag_type_name (SubtagType type)
return {};
}
-bool
-dcp::LanguageTag::VariantSubtag::operator== (VariantSubtag const & other) const
-{
- return subtag() == other.subtag();
-}
-
-
-bool
-dcp::LanguageTag::VariantSubtag::operator< (VariantSubtag const & other) const
-{
- return subtag() < other.subtag();
-}
-
-
-bool
-dcp::LanguageTag::ExtlangSubtag::operator== (ExtlangSubtag const & other) const
-{
- return subtag() == other.subtag();
-}
-
-
-bool
-dcp::LanguageTag::ExtlangSubtag::operator< (ExtlangSubtag const & other) const
-{
- return subtag() < other.subtag();
-}
-
bool
dcp::operator== (dcp::LanguageTag const& a, dcp::LanguageTag const& b)