From: kronbichler Date: Mon, 20 Jan 2014 16:40:32 +0000 (+0000) Subject: Allow use of AssertDimension without 'using namespace dealii' X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fab1c5cf741894ffe4898fed3b0c6c734ebe38;p=dealii-svn.git Allow use of AssertDimension without 'using namespace dealii' git-svn-id: https://svn.dealii.org/trunk@32266 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 635c50d048..a3d4a3eab6 100644 --- a/deal.II/include/deal.II/base/exceptions.h +++ b/deal.II/include/deal.II/base/exceptions.h @@ -856,7 +856,7 @@ namespace StandardExceptions * @author Guido Kanschat 2007 */ #define AssertDimension(dim1,dim2) Assert((dim1) == (dim2), \ - ExcDimensionMismatch((dim1),(dim2))) + dealii::ExcDimensionMismatch((dim1),(dim2))) /** @@ -886,7 +886,7 @@ namespace StandardExceptions * @author Guido Kanschat 2007 */ #define AssertIndexRange(index,range) Assert((index) < (range), \ - ExcIndexRange((index),0,(range))) + dealii::ExcIndexRange((index),0,(range))) #define AssertGlobalIndexRange(index,range) Assert((index) < (range), \ ExcIndexRange((index),0,(range)))