fix linux compile error

This commit is contained in:
Dario 2020-01-27 14:04:10 +01:00
parent 35d762541e
commit 15248a3e56

View File

@ -101,7 +101,7 @@ namespace model {
select << "SELECT " << "id " select << "SELECT " << "id "
<< " FROM " << getTableName() << " FROM " << getTableName()
<< " WHERE " << fieldName << " = ?" << " WHERE " << fieldName << " = ?"
, into(id), Poco::Data::Keywords::useRef(fieldValue); , Poco::Data::Keywords::into(id), Poco::Data::Keywords::useRef(fieldValue);
try { try {
if (select.execute() == 1) { if (select.execute() == 1) {
return true; return true;