Make destructor of Statement virtual I got an ASAN error otherwise (type mismatch)
1 files changed, 1 insertions(+), 0 deletions(-) M src/database/statement.hpp
M src/database/statement.hpp => src/database/statement.hpp +1 -0
@@ 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;