]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use std::size_t instead of int in ExcDimensionMismatch.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Feb 2012 08:45:19 +0000 (08:45 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Feb 2012 08:45:19 +0000 (08:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@25127 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/exceptions.h

index 853c5b382cfd5ee4d2fb05f71011e86fd2ab7ca8..2b30fe54d8fa8bd9812cc582a08b927788021dc4 100644 (file)
@@ -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 <tt>int</tt>.
                                    */
   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
                                    * <tt>DeclException0</tt> macro:
                                    * exceptions desclared through
-                                   * DeclException0 
+                                   * DeclException0
                                    * do not allow one to specify a
                                    * message that is displayed when
                                    * the exception is raised, as

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.