diff options
author | Jonas Wielicki <j.wielicki@sotecware.net> | 2017-11-28 18:53:16 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-12-02 20:08:50 +0100 |
commit | 14dcc57a19229dfaf878e07229e8f3e66857a75d (patch) | |
tree | 401985ad72888665fa6bc1427ed504957fa6a7f8 /src/database | |
parent | 4f7ad3f9855cf62649c40d912e6c3a6a2b777913 (diff) | |
download | biboumi-14dcc57a19229dfaf878e07229e8f3e66857a75d.tar.gz biboumi-14dcc57a19229dfaf878e07229e8f3e66857a75d.tar.bz2 biboumi-14dcc57a19229dfaf878e07229e8f3e66857a75d.tar.xz biboumi-14dcc57a19229dfaf878e07229e8f3e66857a75d.zip |
Make destructor of Statement virtual
I got an ASAN error otherwise (type mismatch)
Diffstat (limited to 'src/database')
-rw-r--r-- | src/database/statement.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/statement.hpp b/src/database/statement.hpp index db5f31b..4a61928 100644 --- a/src/database/statement.hpp +++ b/src/database/statement.hpp @@ -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; |