Make destructor of Statement virtual
I got an ASAN error otherwise (type mismatch)
This commit is contained in:
1 parent
4f7ad3f985
commit
14dcc57a19
1 file changed
+1
@@ -14,6 +14,7 @@ enum class StepResult
|
||||
class Statement
|
||||
{
|
||||
public:
|
||||
virtual ~Statement() = default;
|
||||
virtual StepResult step() = 0;
|
||||
|
||||
virtual void bind(std::vector<std::string> params) = 0;
|
||||
|
||||
Reference in new issue
Block a user