From 121330b9799492f361374537b9dae95365a40f35 Mon Sep 17 00:00:00 2001 From: maier Date: Tue, 22 Oct 2013 18:01:43 +0000 Subject: [PATCH] Also remove stray noexcept(false)... git-svn-id: https://svn.dealii.org/trunk@31386 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/vector_memory.h | 8 -------- deal.II/source/base/function_time.cc | 4 ---- deal.II/source/lac/vector_memory.cc | 4 ---- 3 files changed, 16 deletions(-) diff --git a/deal.II/include/deal.II/lac/vector_memory.h b/deal.II/include/deal.II/lac/vector_memory.h index b85c7a3ec2..73e0594351 100644 --- a/deal.II/include/deal.II/lac/vector_memory.h +++ b/deal.II/include/deal.II/lac/vector_memory.h @@ -80,11 +80,7 @@ public: * as there are virtual functions * in this class. */ -#ifdef DEAL_II_USE_CXX11 - virtual ~VectorMemory () noexcept(false) {} -#else virtual ~VectorMemory () {} -#endif /** * Return a pointer to a new @@ -287,11 +283,7 @@ public: * a warning message, if there * are allocated vectors left. */ -#ifdef DEAL_II_USE_CXX11 - virtual ~GrowingVectorMemory() noexcept(false); -#else virtual ~GrowingVectorMemory(); -#endif /** * Return a pointer to a new diff --git a/deal.II/source/base/function_time.cc b/deal.II/source/base/function_time.cc index 2f409b0761..b726a6551e 100644 --- a/deal.II/source/base/function_time.cc +++ b/deal.II/source/base/function_time.cc @@ -26,11 +26,7 @@ FunctionTime::FunctionTime(const double initial_time) -#ifdef DEAL_II_USE_CXX11 -FunctionTime::~FunctionTime() noexcept(false) -#else FunctionTime::~FunctionTime() -#endif {} diff --git a/deal.II/source/lac/vector_memory.cc b/deal.II/source/lac/vector_memory.cc index 34483b9aa9..9ed021a997 100644 --- a/deal.II/source/lac/vector_memory.cc +++ b/deal.II/source/lac/vector_memory.cc @@ -102,11 +102,7 @@ GrowingVectorMemory::GrowingVectorMemory (const size_type initial_size, template inline -#ifdef DEAL_II_USE_CXX11 -GrowingVectorMemory::~GrowingVectorMemory() noexcept(false) -#else GrowingVectorMemory::~GrowingVectorMemory() -#endif { AssertNothrow(current_alloc == 0, StandardExceptions::ExcMemoryLeak(current_alloc)); -- 2.39.5