PIM: fixed compilation error when using libphonenumber from revision >= 586

This commit is contained in:
Mateusz Polrola 2014-05-20 14:29:01 +02:00 committed by Patrick Ohly
parent 89c9d82363
commit 59932d1b25
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ public:
// Redirect output of libphonenumber and make it a bit quieter
// than it is by default. We map fatal libphonenumber errors
// to ERROR and everything else to DEBUG.
i18n::phonenumbers::PhoneNumberUtil::SetLogger(&m_logger);
i18n::phonenumbers::PhoneNumberUtil::GetInstance()->SetLogger(&m_logger);
}
static std::locale genLocale()