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
This commit is contained in:
rich_sposato 2011-10-17 20:27:44 +00:00
parent 626fef43d8
commit d39752ca64

View file

@ -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 <Enter> key to continue. ";
cin.get( ender );
return 0;
}