From: Wolfgang Bangerth Date: Tue, 15 Oct 2013 12:54:48 +0000 (+0000) Subject: Guard 'noexcept' with appropriate flag. X-Git-Tag: v8.1.0~570^2~59 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4519bfda8e35c4d0304ad0398ef39f93971da1d7;p=dealii.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));