From: bangerth Date: Tue, 15 Oct 2013 12:54:48 +0000 (+0000) Subject: Guard 'noexcept' with appropriate flag. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9df0949f5ab3db27e1631437a375eefa9ed7d79;p=dealii-svn.git Guard 'noexcept' with appropriate flag. git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31238 0785d39b-7218-0410-832d-ea1e28bc413d --- 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));