From: bangerth Date: Tue, 21 Feb 2012 08:45:19 +0000 (+0000) Subject: Use std::size_t instead of int in ExcDimensionMismatch. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=156c5610ac3377e6a36895e7e1ce484118ce53ef;p=dealii-svn.git Use std::size_t instead of int in ExcDimensionMismatch. git-svn-id: https://svn.dealii.org/trunk@25127 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/exceptions.h b/deal.II/include/deal.II/base/exceptions.h index 853c5b382c..2b30fe54d8 100644 --- a/deal.II/include/deal.II/base/exceptions.h +++ b/deal.II/include/deal.II/base/exceptions.h @@ -1,7 +1,7 @@ //--------------------------------------------------------------------------- // $Id$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2012 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -652,7 +652,7 @@ namespace StandardExceptions * ExcDivideByZero for those). */ DeclException0 (ExcNumberNotFinite); - + /** * Trying to allocate a new * object failed due to lack of @@ -824,7 +824,7 @@ namespace StandardExceptions * both of type int. */ DeclException2 (ExcDimensionMismatch, - int, int, + std::size_t, std::size_t, << "Dimension " << arg1 << " not equal to " << arg2); /** @@ -905,7 +905,7 @@ namespace StandardExceptions * design flaw in the * DeclException0 macro: * exceptions desclared through - * DeclException0 + * DeclException0 * do not allow one to specify a * message that is displayed when * the exception is raised, as