]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also remove stray noexcept(false)...
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 18:01:43 +0000 (18:01 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 22 Oct 2013 18:01:43 +0000 (18:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@31386 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/vector_memory.h
deal.II/source/base/function_time.cc
deal.II/source/lac/vector_memory.cc

index b85c7a3ec2141124a60246ec12d25ad82610bd00..73e0594351c7b88788759fa55da203d3bbb1e914 100644 (file)
@@ -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
index 2f409b0761203759ccd973a89c50e68c8a7f5392..b726a6551e57d7281b987f92d984267c0f1ab355 100644 (file)
@@ -26,11 +26,7 @@ FunctionTime::FunctionTime(const double initial_time)
 
 
 
-#ifdef DEAL_II_USE_CXX11
-FunctionTime::~FunctionTime() noexcept(false)
-#else
 FunctionTime::~FunctionTime()
-#endif
 {}
 
 
index 34483b9aa9d15a51b954c19203f94416af7d1885..9ed021a9972c7da4eac524b4e4b25d939d0d3611 100644 (file)
@@ -102,11 +102,7 @@ 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
 {
   AssertNothrow(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.