OSX compilation fix

This commit is contained in:
brunoherbelin
2021-01-01 14:36:44 +01:00
parent cf2b6b4b39
commit a1e81b58b1
4 changed files with 20 additions and 8 deletions

View File

@@ -249,8 +249,8 @@ void Source::setName (const std::string &name)
{
name_ = SystemToolkit::transliterate(name);
initials_[0] = std::toupper( name_.front(), std::locale("en_US.utf8") );
initials_[1] = std::toupper( name_.back(), std::locale("en_US.utf8") );
initials_[0] = std::toupper( name_.front(), std::locale("C") );
initials_[1] = std::toupper( name_.back(), std::locale("C") );
}
void Source::accept(Visitor& v)