Skip to content

Commit

Permalink
Fix accidental extra ::Locale.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chase Geigle committed Jun 13, 2015
1 parent 190ea20 commit 624f8c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utf/segmenter.cpp
Expand Up @@ -41,8 +41,8 @@ class segmenter::impl
impl(const std::string& language,
const util::optional<std::string>& country)
{
icu::Locale::Locale locale(language.c_str(),
country ? country->c_str() : nullptr);
icu::Locale locale(language.c_str(),
country ? country->c_str() : nullptr);
if (locale.isBogus())
throw std::runtime_error{"failed to create locale"};

Expand Down

0 comments on commit 624f8c5

Please sign in to comment.