]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify GridOut::Gnuplot 6721/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 5 Jun 2018 22:25:16 +0000 (00:25 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 6 Jun 2018 08:05:01 +0000 (10:05 +0200)
include/deal.II/grid/grid_out.h
source/grid/grid_out.cc

index 477763b0faa942ac44d73edbdc2cc4836608b0d8..bed9ef5303fa33416ed2edbe857d35e0c05f463e 100644 (file)
@@ -294,12 +294,6 @@ namespace GridOutFlags
      */
     Gnuplot(const Gnuplot &flags);
 
-    /**
-     * Move constructor. Needed since this class (for backwards compatibility)
-     * has a reference member variable.
-     */
-    Gnuplot(Gnuplot &&flags);
-
     /**
      * Copy operator. Needed since this class (for backwards compatibility)
      * has a reference member variable.
@@ -307,13 +301,6 @@ namespace GridOutFlags
     Gnuplot &
     operator=(const Gnuplot &flags);
 
-    /**
-     * Move assignment operator. Needed since this class (for backwards
-     * compatibility) has a reference member variable.
-     */
-    Gnuplot &
-    operator=(Gnuplot &&flags);
-
     /**
      * Declare parameters in ParameterHandler.
      */
index 6d0d602ff66bdae0781b1382b0951a4430db0536..0406f0444a59883cd1a823f86b0a82ff0267e19e 100644 (file)
@@ -168,12 +168,6 @@ namespace GridOutFlags
 
 
 
-  Gnuplot::Gnuplot(Gnuplot &&flags) :
-    Gnuplot(static_cast<const Gnuplot &>(flags))
-  {}
-
-
-
   Gnuplot &
   Gnuplot::operator=(const Gnuplot &flags)
   {
@@ -187,14 +181,6 @@ namespace GridOutFlags
 
 
 
-  Gnuplot &
-  Gnuplot::operator=(Gnuplot &&flags)
-  {
-    return operator=(static_cast<const Gnuplot &>(flags));
-  }
-
-
-
   void
   Gnuplot::declare_parameters(ParameterHandler &param)
   {

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.