diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-24 23:57:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-24 23:59:36 +0100 |
| commit | 785c03546ae8276a1f0cd54c44b26513d6ed91d2 (patch) | |
| tree | f9908e06df10b6d21cfc93e12b6eda999daa61ce /src/language_tag.cc | |
| parent | e46870be9e7544d102b9612680b321fbf52c73f2 (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.cc | 27 |
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) |
