From 83ae29efcc46db56e03a51a47d07e0628286c035 Mon Sep 17 00:00:00 2001 From: neingeist Date: Mon, 18 Aug 2014 22:23:01 +0200 Subject: [PATCH] make bad_alloc.cpp less evil --- bad_alloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bad_alloc.cpp b/bad_alloc.cpp index 3e68306..1ef2a17 100644 --- a/bad_alloc.cpp +++ b/bad_alloc.cpp @@ -11,7 +11,7 @@ void dr_evil(int counter) { } int foo(void) { - for (int counter=0; counter<10; counter++) { + for (int counter = 0; counter < 20; counter++) { try { cout << "About to call dr_evil with counter == " << counter << endl; dr_evil(counter);