From 1b172728288eadbd361c4f42ff086181a7cf781e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 19 Apr 2015 20:50:39 -0500 Subject: [PATCH] Silence a warning. This also addresses #598. --- tests/tests.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.39.5