X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=src_test%2Ftest_w1_datalog_write.cc;h=748b9fe29ea2eb14f4b65e648405dd432a5b16a3;hb=14ca6b205211e856c924f88dff3abf0584b1e414;hp=08bd2392209e368b2b0c2495676bdb3bf16d9413;hpb=da203ad44792ca37320768f4cbe68587c4806910;p=lib1wire.git diff --git a/src_test/test_w1_datalog_write.cc b/src_test/test_w1_datalog_write.cc index 08bd239..748b9fe 100644 --- a/src_test/test_w1_datalog_write.cc +++ b/src_test/test_w1_datalog_write.cc @@ -13,9 +13,10 @@ #include -#include "DeviceConfig.hh" +#include +#include + #include "Factory.hh" -#include "Device.hh" using namespace w1; using namespace std; @@ -116,9 +117,11 @@ int main(int argc, char** argv) { else { log_debug("could not find 1-wire devices.\n"); } + log_debug("trying to start emptying list\n"); while (device_list.empty() == false) { device = device_list.back(); device_list.pop_back(); + log_debug("calling delete\n"); delete(device); } return 0;