diff --git a/cxx/Makefile b/cxx/Makefile index eb9fc30c6ecd61aef8c863e13a48e0c905d0b653..236203a09854e32e591a51198fcbe5c52f907205 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 d8d163d9cb9fd8bb6332d4ddc0bc94f1f654d120..bb7ae4a7250847adc412378ccbb64b7f6f7f5519 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) +{ +}