From b9df0949f5ab3db27e1631437a375eefa9ed7d79 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 15 Oct 2013 12:54:48 +0000 Subject: [PATCH] Guard 'noexcept' with appropriate flag. git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31238 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/vector_memory.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deal.II/source/lac/vector_memory.cc b/deal.II/source/lac/vector_memory.cc index 2ed69eea80..6ada53b04c 100644 --- a/deal.II/source/lac/vector_memory.cc +++ b/deal.II/source/lac/vector_memory.cc @@ -102,7 +102,11 @@ GrowingVectorMemory::GrowingVectorMemory (const size_type initial_size, template inline +#ifdef DEAL_II_USE_CXX11 GrowingVectorMemory::~GrowingVectorMemory() noexcept(false) +#else +GrowingVectorMemory::~GrowingVectorMemory() +#endif { AssertThrow(current_alloc == 0, StandardExceptions::ExcMemoryLeak(current_alloc)); -- 2.39.5