]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Guard 'noexcept' with appropriate flag.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Oct 2013 12:54:48 +0000 (12:54 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Oct 2013 12:54:48 +0000 (12:54 +0000)
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

index 2ed69eea803887674c646aafb511580f4bcb727e..6ada53b04ccffd141c5a2a48c91b5ab0049ab5df 100644 (file)
@@ -102,7 +102,11 @@ GrowingVectorMemory<VECTOR>::GrowingVectorMemory (const size_type initial_size,
 
 template<typename VECTOR>
 inline
+#ifdef DEAL_II_USE_CXX11
 GrowingVectorMemory<VECTOR>::~GrowingVectorMemory() noexcept(false)
+#else
+GrowingVectorMemory<VECTOR>::~GrowingVectorMemory()
+#endif
 {
   AssertThrow(current_alloc == 0,
               StandardExceptions::ExcMemoryLeak(current_alloc));

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.