From d39752ca64a8d2b976bc720a1af277dc5134367b Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Mon, 17 Oct 2011 20:27:44 +0000 Subject: [PATCH] Replaced call to system with call to cin.get. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1158 7ec92016-0320-0410-acc4-a06ded1c099a --- test/LevelMutex/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/LevelMutex/main.cpp b/test/LevelMutex/main.cpp index a9ecf0a..f2ae062 100644 --- a/test/LevelMutex/main.cpp +++ b/test/LevelMutex/main.cpp @@ -20,7 +20,7 @@ // ---------------------------------------------------------------------------- -#include "LevelMutex.h" +#include "loki/LevelMutex.h" #include "MultiThreadTests.hpp" #include "Thing.hpp" @@ -642,6 +642,7 @@ void SingleThreadExceptionTest( void ) int main( int argc, const char * const argv[] ) { + char ender; cout << "Starting LevelMutex tests." << endl; if ( 1 < argc ) @@ -674,7 +675,9 @@ int main( int argc, const char * const argv[] ) cout << "Caught unknown exception!" << endl; } - ::system( "pause" ); + cout << "Press key to continue. "; + cin.get( ender ); + return 0; }