diff options
| author | Rutger Broekhoff | 2026-12-01 00:42:18 +0100 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-12-01 00:42:18 +0100 |
| commit | 9b8d8fccaec087031ba37dd68e516929c3ddb4a2 (patch) | |
| tree | 8e380c6f80388b4a238ddf486e113d6e5013699c /server/src/locale.cppm | |
| parent | 4a81c39d94b6877f7753896218467ff77b8d7f6f (diff) | |
| download | routemon-main.tar.gz routemon-main.zip | |
Diffstat (limited to 'server/src/locale.cppm')
| -rw-r--r-- | server/src/locale.cppm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/src/locale.cppm b/server/src/locale.cppm index 43e32c3..87c3ced 100644 --- a/server/src/locale.cppm +++ b/server/src/locale.cppm | |||
| @@ -50,11 +50,6 @@ export class selector | |||
| 50 | static auto make_matcher(std::vector<std::locale> const& supported_locales) | 50 | static auto make_matcher(std::vector<std::locale> const& supported_locales) |
| 51 | -> icu::LocaleMatcher; | 51 | -> icu::LocaleMatcher; |
| 52 | 52 | ||
| 53 | // Trimming optional whitespace as defined in RFC 9110, ยง 12.4.2. | ||
| 54 | static auto ltrim_ows(std::string_view s) -> std::string_view; | ||
| 55 | static auto rtrim_ows(std::string_view s) -> std::string_view; | ||
| 56 | static auto trim_ows(std::string_view s) -> std::string_view; | ||
| 57 | |||
| 58 | public: | 53 | public: |
| 59 | explicit selector(locale_input_range auto supported, std::locale default_) | 54 | explicit selector(locale_input_range auto supported, std::locale default_) |
| 60 | : supported_{ | 55 | : supported_{ |