Commit 06abd6e6 authored by louiz’'s avatar louiz’

Add a missing "virtual", and remove a trivial "private" redundancy

parent d839792f
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment