]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove DEAL_II_WITH_CXX11 guards 5636/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Sun, 17 Dec 2017 20:04:48 +0000 (15:04 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Sun, 17 Dec 2017 20:04:48 +0000 (15:04 -0500)
include/deal.II/lac/sparse_matrix.h
include/deal.II/lac/vector.h
include/deal.II/lac/vector.templates.h

index a3b2216b0e398ecb2791328ae5c691ae9a02b6b1..7bddb4523457bfafabadae87aad1dfa9ed30dc70 100644 (file)
@@ -590,13 +590,11 @@ public:
    */
   SparseMatrix<number> &operator = (const SparseMatrix<number> &);
 
-#ifdef DEAL_II_WITH_CXX11
   /**
    * Move assignment operator. This operator replaces the present matrix with
    * @p m by transferring the internal data of @p m.
    */
   SparseMatrix<number> &operator = (SparseMatrix<number> &&m);
-#endif
 
   /**
    * Copy operator: initialize the matrix with the identity matrix. This
index e6ecc692253d386e5ecf191c8c590889bc1ec5e5..acccbd1458a526d3e2e8c889929debeb4e897bca 100644 (file)
@@ -308,14 +308,12 @@ public:
    */
   Vector<Number> &operator= (const Vector<Number> &v);
 
-#ifdef DEAL_II_WITH_CXX11
   /**
    * Move the given vector. This operator replaces the present vector with
    * the internal data of the vector @p v and resets @p v to the state it would
    * have after being newly default-constructed.
    */
   Vector<Number> &operator= (Vector<Number> &&v);
-#endif
 
   /**
    * Copy the given vector. Resize the present vector if necessary.
index c301b955e56fc8250e49abfe573ecaf9dea95fd2..19eaafcf05b010b16df9385549c03c4a91388fc5 100644 (file)
@@ -216,7 +216,6 @@ Vector<Number>::operator= (const Vector<Number> &v)
 
 
 
-#ifdef DEAL_II_WITH_CXX11
 template <typename Number>
 inline
 Vector<Number> &
@@ -234,7 +233,6 @@ Vector<Number>::operator= (Vector<Number> &&v)
 
   return *this;
 }
-#endif
 
 
 

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.