make bad_alloc.cpp less evil
This commit is contained in:
		
							parent
							
								
									674957127f
								
							
						
					
					
						commit
						83ae29efcc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -11,7 +11,7 @@ void dr_evil(int counter) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int foo(void) {
 | 
					int foo(void) {
 | 
				
			||||||
  for (int counter=0; counter<10; counter++) {
 | 
					  for (int counter = 0; counter < 20; counter++) {
 | 
				
			||||||
    try {
 | 
					    try {
 | 
				
			||||||
      cout << "About to call dr_evil with counter == " << counter << endl;
 | 
					      cout << "About to call dr_evil with counter == " << counter << endl;
 | 
				
			||||||
      dr_evil(counter);
 | 
					      dr_evil(counter);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue