From 156c5610ac3377e6a36895e7e1ce484118ce53ef Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 21 Feb 2012 08:45:19 +0000 Subject: [PATCH] Use std::size_t instead of int in ExcDimensionMismatch. git-svn-id: https://svn.dealii.org/trunk@25127 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/exceptions.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5