diff options
-rw-r--r-- | Jamroot.jam | 1 | ||||
-rw-r--r-- | libdbpp/column.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index 2026f3c..b13bf61 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -14,6 +14,7 @@ project <variant>release:<lto>on <variant>debug:<warnings>extra <variant>debug:<warnings-as-errors>on + <variant>debug:<cflags>-Wnon-virtual-dtor <variant>coverage:<coverage>on <toolset>tidy:<checkxx>boost-* <toolset>tidy:<checkxx>bugprone-* diff --git a/libdbpp/column.h b/libdbpp/column.h index 4008a81..e4c6895 100644 --- a/libdbpp/column.h +++ b/libdbpp/column.h @@ -15,6 +15,8 @@ namespace DB { /// Abstract class for something that can handle field data. See Column::apply. class DLL_PUBLIC HandleField { public: + virtual ~HandleField() = default; + /// The field is null. virtual void null() = 0; /// The field contains text data. |