fix(Data): Add using AbstractBinder::bind to prevent hidden virtual warning (#4900)

This commit is contained in:
Matej Kenda
2025-12-17 23:11:19 +01:00
parent 5363e3d38b
commit 7a03cafbb3
4 changed files with 8 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ class MySQL_API Binder: public Poco::Data::AbstractBinder
/// Binds placeholders in the sql query to the provided values. Performs data types mapping.
{
public:
using AbstractBinder::bind;
typedef SharedPtr<Binder> Ptr;
Binder();

View File

@@ -57,6 +57,8 @@ class ODBC_API Binder: public Poco::Data::AbstractBinder
/// Binds placeholders in the sql query to the provided values. Performs data types mapping.
{
public:
using AbstractBinder::bind;
typedef AbstractBinder::Direction Direction;
typedef std::map<SQLPOINTER, SQLLEN> ParamMap;

View File

@@ -38,6 +38,8 @@ class PostgreSQL_API Binder: public Poco::Data::AbstractBinder
/// Allows data type mapping at statement execution time.
{
public:
using AbstractBinder::bind;
using Ptr = SharedPtr<Binder>;
Binder();

View File

@@ -35,6 +35,8 @@ class SQLite_API Binder: public Poco::Data::AbstractBinder
/// Binds placeholders in the sql query to the provided values. Performs data types mapping.
{
public:
using AbstractBinder::bind;
Binder(sqlite3_stmt* pStmt);
/// Creates the Binder.