bad_alloc.cc
changeset 8 96d16dfe787a
parent 2 97beb75e5ac7
child 9 c3fecc82ade6
--- a/bad_alloc.cc
+++ b/bad_alloc.cc
@@ -32,8 +32,7 @@
         for (;;) {
             v.push_back (i++);
         }
-    }
-    catch (exception & e) {
+    } catch (exception & e) {
         cout << e.what () << " after " << i << " iterations" << endl << endl;
         cout << "Would you like to see the full error message? (y/n) ";
         cin >> action;