Commit 14dcc57a authored by Jonas Schäfer's avatar Jonas Schäfer Committed by louiz’

Make destructor of Statement virtual

I got an ASAN error otherwise (type mismatch)
parent 4f7ad3f9
...@@ -14,6 +14,7 @@ enum class StepResult ...@@ -14,6 +14,7 @@ enum class StepResult
class Statement class Statement
{ {
public: public:
virtual ~Statement() = default;
virtual StepResult step() = 0; virtual StepResult step() = 0;
virtual void bind(std::vector<std::string> params) = 0; virtual void bind(std::vector<std::string> params) = 0;
......
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