diff --git a/cxx/Makefile b/cxx/Makefile index eb9fc30c6ec..236203a0985 100644 --- a/cxx/Makefile +++ b/cxx/Makefile @@ -1,2 +1,3 @@ CPPFLAGS = -I../include +CC = c++ test1: test1.o dbt.o diff --git a/cxx/dbt.cpp b/cxx/dbt.cpp index d8d163d9cb9..bb7ae4a7250 100644 --- a/cxx/dbt.cpp +++ b/cxx/dbt.cpp @@ -4,3 +4,7 @@ Dbt::Dbt(void) { DBT *dbt = this; memset(dbt, 0, sizeof(*dbt)); } + +Dbt::~Dbt(void) +{ +}