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:
parent
626fef43d8
commit
d39752ca64
1 changed files with 5 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
#include "LevelMutex.h"
|
#include "loki/LevelMutex.h"
|
||||||
|
|
||||||
#include "MultiThreadTests.hpp"
|
#include "MultiThreadTests.hpp"
|
||||||
#include "Thing.hpp"
|
#include "Thing.hpp"
|
||||||
|
@ -642,6 +642,7 @@ void SingleThreadExceptionTest( void )
|
||||||
|
|
||||||
int main( int argc, const char * const argv[] )
|
int main( int argc, const char * const argv[] )
|
||||||
{
|
{
|
||||||
|
char ender;
|
||||||
|
|
||||||
cout << "Starting LevelMutex tests." << endl;
|
cout << "Starting LevelMutex tests." << endl;
|
||||||
if ( 1 < argc )
|
if ( 1 < argc )
|
||||||
|
@ -674,7 +675,9 @@ int main( int argc, const char * const argv[] )
|
||||||
cout << "Caught unknown exception!" << endl;
|
cout << "Caught unknown exception!" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
::system( "pause" );
|
cout << "Press <Enter> key to continue. ";
|
||||||
|
cin.get( ender );
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue