X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f52d78508cefd46f2bfb4f22f3b1f2925988d1e..7e2f1b12f4459f77318e5d664317473e35aeb473:/teshsuite/xbt/mmalloc/mmalloc_test.cpp diff --git a/teshsuite/xbt/mmalloc/mmalloc_test.cpp b/teshsuite/xbt/mmalloc/mmalloc_test.cpp index 847ff6cee3..1220c584fd 100644 --- a/teshsuite/xbt/mmalloc/mmalloc_test.cpp +++ b/teshsuite/xbt/mmalloc/mmalloc_test.cpp @@ -77,7 +77,7 @@ int main(int argc, char**argv) mfree(heapA, pointers[i]); try { mfree(heapA, pointers[i]); - } catch(xbt_ex& e) { + } catch (const xbt_ex&) { gotit = true; } if (not gotit) @@ -89,7 +89,7 @@ int main(int argc, char**argv) bool gotit = false; try { mfree(heapA, pointers[i]); - } catch(xbt_ex& e) { + } catch (const xbt_ex&) { gotit = true; } if (not gotit)