mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
don't enable c++11, as it is used yet. This breaks compilation on centos6.
This commit is contained in:
parent
f40bc26db4
commit
a281b1408f
2 changed files with 1 additions and 2 deletions
|
|
@ -86,7 +86,6 @@ case $target in
|
|||
|
||||
esac
|
||||
|
||||
CXXFLAGS="${CXXFLAGS} -std=c++11"
|
||||
|
||||
AM_CONDITIONAL(BUILD_IOS, test x$ios_found = xyes)
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ void RegisterInfoCommand::exec(Daemon *app, const std::string& args) {
|
|||
} else {
|
||||
int id;
|
||||
try {
|
||||
id = std::stoi(param);
|
||||
id = atoi(param.c_str());
|
||||
} catch (std::invalid_argument) {
|
||||
app->sendResponse(Response("Invalid ID.", Response::Error));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue