Correct style, use of newer YATL.
[awesomized/libmemcached] / libtest / framework.cc
index 546ccb37590034e50865a989f2d3d9929513f38a..30f511afdbf484850dc5cb18125888e8f332040d 100644 (file)
@@ -133,12 +133,12 @@ void Framework::exec()
         break;
       }
     }
-    catch (libtest::fatal& e)
+    catch (const libtest::fatal& e)
     {
       _failed++;
       stream::cerr(e.file(), e.line(), e.func()) << e.what();
     }
-    catch (libtest::disconnected& e)
+    catch (const libtest::disconnected& e)
     {
       _failed++;
       Error << "Unhandled disconnection occurred:" << e.what();