diff --git a/test/apps/exception_example.cxx b/test/apps/exception_example.cxx index bbb3a2d..df82161 100644 --- a/test/apps/exception_example.cxx +++ b/test/apps/exception_example.cxx @@ -21,12 +21,13 @@ where is a number: 0 - 6. class XX { + public: ~XX() { TLOG_DEBUG(1) << "dtor object after raise/throw"; } }; void foo( int except_int ) { - XX xx(); + XX xx; switch( except_int ) { case 0: { TLOG_DEBUG(1) << "raising ers::PermissionDenied " << "somefilename";