diff --git a/src/ibpp/statement.cpp b/src/ibpp/statement.cpp index 2c85359a..c6b59a3d 100644 --- a/src/ibpp/statement.cpp +++ b/src/ibpp/statement.cpp @@ -717,7 +717,7 @@ std::string StatementImpl::ParametersParser(std::string sql) //Here we verify, the job done recently was time lost? std::string isDML(sql); - isDML.erase(isDML.begin(), std::find_if(isDML.begin(), isDML.end(), std::not1(std::function(std::isspace)))); //lTrim + isDML.erase(isDML.begin(), std::find_if(isDML.begin(), isDML.end(), [](int c) { return !std::isspace(c); })); //lTrim std::transform(isDML.begin(), isDML.end(), isDML.begin(), [](char c) { return (char)std::toupper(c); }); //UpperCase (only bothered about ASCII text, cast is okay)