mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Merge tag '0.50' into develop
Maintenance release: - compile with MSVC 2017 again - remove some clang warnings - Fixed incorrect usage of string::find
This commit is contained in:
commit
b6c2de37c1
@ -44,7 +44,7 @@ namespace sqlpp
|
||||
|
||||
static std::string escape(std::string arg)
|
||||
{
|
||||
if (arg.find('\''))
|
||||
if (arg.find('\'') != std::string::npos)
|
||||
{
|
||||
std::string retVal;
|
||||
for (const auto c : arg)
|
||||
|
Loading…
Reference in New Issue
Block a user