Renamed pg_libphonenumber to pg-libphonenumber
This commit is contained in:
parent
e6f470a244
commit
d14ab5d435
4
Makefile
4
Makefile
|
@ -1,5 +1,5 @@
|
|||
MODULE_big := pg_libphonenumber
|
||||
OBJS := pg_libphonenumber.o
|
||||
MODULE_big := pg-libphonenumber
|
||||
OBJS := pg-libphonenumber.o
|
||||
PG_CPPFLAGS := -fPIC -std=c++11
|
||||
SHLIB_LINK := -lphonenumber -lstdc++
|
||||
|
||||
|
|
|
@ -99,8 +99,6 @@ extern "C" {
|
|||
std::string formatted;
|
||||
char *result;
|
||||
|
||||
formatted.resize(20, ' ');
|
||||
|
||||
try {
|
||||
phoneUtil->Format(*number, PhoneNumberUtil::INTERNATIONAL, &formatted);
|
||||
} catch(std::bad_alloc& e) {
|
Loading…
Reference in New Issue