Add a missing "virtual", and remove a trivial "private" redundancy
This commit is contained in:
@@ -15,7 +15,7 @@ class PostgresqlStatement: public Statement
|
||||
body(std::move(body)),
|
||||
conn(conn)
|
||||
{}
|
||||
~PostgresqlStatement()
|
||||
virtual ~PostgresqlStatement()
|
||||
{
|
||||
PQclear(this->result);
|
||||
this->result = nullptr;
|
||||
@@ -89,8 +89,6 @@ class PostgresqlStatement: public Statement
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
bool execute(const bool second_attempt=false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user