From 32fab1c5cf741894ffe4898fed3b0c6c734ebe38 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Mon, 20 Jan 2014 16:40:32 +0000 Subject: [PATCH] Allow use of AssertDimension without 'using namespace dealii' git-svn-id: https://svn.dealii.org/trunk@32266 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/base/exceptions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))) -- 2.39.5