From 87718f1c826efaa7252f16fdd642e45b3805a25f Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Wed, 6 Nov 2013 07:41:16 -0500 Subject: [PATCH] get rid of warnings --- testApp/misc/testThread.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/testApp/misc/testThread.cpp b/testApp/misc/testThread.cpp index 0ffcdf0..2c72b23 100644 --- a/testApp/misc/testThread.cpp +++ b/testApp/misc/testThread.cpp @@ -48,7 +48,6 @@ public: } }; -typedef std::tr1::shared_ptr ThreadPtr; static void testThreadRun(FILE *fd) { // show that we can control thread start and stop ActionPtr ax(new Action(fd)); @@ -146,15 +145,15 @@ int main(int argc, char *argv[]) { if(fileName!=0 && fileName[0]!=0) { fd = fopen(fileName,"w+"); } + testThreadRun(fd); + testBasic(fd); +#ifdef TESTTHREADCONTEXT char *auxFileName = 0; if(argc>2) auxFileName = argv[2]; FILE *auxFd = stdout; if(auxFileName!=0 && auxFileName[0]!=0) { auxFd = fopen(auxFileName,"w+"); } - testThreadRun(fd); - testBasic(fd); -#ifdef TESTTHREADCONTEXT testThreadContext(fd,auxFd); #endif return 0;