Skip to content

Commit

Permalink
Silence a warning.
Browse files Browse the repository at this point in the history
This also addresses dealii#598.
  • Loading branch information
bangerth committed Apr 20, 2015
1 parent a5104d8 commit 1b17272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.
//
Expand Down Expand Up @@ -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());
}


Expand Down

0 comments on commit 1b17272

Please sign in to comment.