From: Wolfgang Bangerth Date: Mon, 20 Apr 2015 01:50:39 +0000 (-0500) Subject: Silence a warning. X-Git-Tag: v8.3.0-rc1~237^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b172728288eadbd361c4f42ff086181a7cf781e;p=dealii.git Silence a warning. This also addresses #598. --- diff --git a/tests/tests.h b/tests/tests.h index 68c45235cf..0c75269b76 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -124,7 +124,7 @@ void cat_file(const char *filename) void sort_file_contents (const std::string &filename) { int error = std::system ((std::string ("LC_ALL=C sort ") + filename + " -o " + filename).c_str()); - Assert (error == 0, ExcInternalError()); + AssertThrow (error == 0, ExcInternalError()); }