diff --git a/eflxx_examples/src/ecorexx/timers/main.cpp b/eflxx_examples/src/ecorexx/timers/main.cpp index b66923c..faf330d 100644 --- a/eflxx_examples/src/ecorexx/timers/main.cpp +++ b/eflxx_examples/src/ecorexx/timers/main.cpp @@ -4,6 +4,7 @@ #include #include +#include using namespace std; using namespace Eflxx; @@ -114,8 +115,8 @@ public: int main( int argc, const char **argv ) { - TimerApp* app = new TimerApp( argc, argv ); + auto_ptr app (new TimerApp( argc, argv )); app->exec(); - delete app; + return 0; }