From c39b1a665114ad2a8231f0ea69f9c730cc434070 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 31 Jul 2013 07:02:04 +0200 Subject: Added a few forgotten references. --- src/Threads.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Threads.cc') diff --git a/src/Threads.cc b/src/Threads.cc index 7b1b7bc..6de9186 100644 --- a/src/Threads.cc +++ b/src/Threads.cc @@ -50,13 +50,13 @@ void * Balau::ThreadHelper::threadProc(void * arg) { free(tls); success = true; } - catch (Exit e) { + catch (Exit & e) { Printer::log(M_ERROR, "We shouldn't have gotten an Exit exception here... exitting anyway"); auto trace = e.getTrace(); for (String & str : trace) Printer::log(M_ERROR, "%s", str.to_charp()); } - catch (RessourceException e) { + catch (RessourceException & e) { Printer::log(M_ERROR | M_ALERT, "The Thread got a ressource problem: %s", e.getMsg()); const char * details = e.getDetails(); if (details) @@ -65,7 +65,7 @@ void * Balau::ThreadHelper::threadProc(void * arg) { for (String & str : trace) Printer::log(M_DEBUG, "%s", str.to_charp()); } - catch (GeneralException e) { + catch (GeneralException & e) { Printer::log(M_ERROR | M_ALERT, "The Thread caused an exception: %s", e.getMsg()); const char * details = e.getDetails(); if (details) -- cgit v1.2.3