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

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()