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)),
|
body(std::move(body)),
|
||||||
conn(conn)
|
conn(conn)
|
||||||
{}
|
{}
|
||||||
~PostgresqlStatement()
|
virtual ~PostgresqlStatement()
|
||||||
{
|
{
|
||||||
PQclear(this->result);
|
PQclear(this->result);
|
||||||
this->result = nullptr;
|
this->result = nullptr;
|
||||||
@@ -89,8 +89,6 @@ class PostgresqlStatement: public Statement
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool execute(const bool second_attempt=false)
|
bool execute(const bool second_attempt=false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user