From 67459a6d05d33e49ea713e27691040e74dcf4f5b Mon Sep 17 00:00:00 2001
From: Daniel Arndt <arndtd@ornl.gov>
Date: Thu, 9 Jul 2020 00:10:26 -0400
Subject: [PATCH] Remove redundant constructors

---
 include/deal.II/grid/grid_out.h | 13 -------------
 source/grid/grid_out.cc         | 23 -----------------------
 2 files changed, 36 deletions(-)

diff --git a/include/deal.II/grid/grid_out.h b/include/deal.II/grid/grid_out.h
index ca4be9de6b..6ae4408c9d 100644
--- a/include/deal.II/grid/grid_out.h
+++ b/include/deal.II/grid/grid_out.h
@@ -279,19 +279,6 @@ namespace GridOutFlags
             const bool         curved_inner_cells              = false,
             const bool         write_additional_boundary_lines = true);
 
-    /**
-     * Copy constructor. Needed since this class (for backwards compatibility)
-     * has a reference member variable.
-     */
-    Gnuplot(const Gnuplot &flags);
-
-    /**
-     * Copy operator. Needed since this class (for backwards compatibility)
-     * has a reference member variable.
-     */
-    Gnuplot &
-    operator=(const Gnuplot &flags);
-
     /**
      * Declare parameters in ParameterHandler.
      */
diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc
index af32079930..9e2e33a5ef 100644
--- a/source/grid/grid_out.cc
+++ b/source/grid/grid_out.cc
@@ -158,29 +158,6 @@ namespace GridOutFlags
   {}
 
 
-  // TODO we can get rid of these extra constructors and assignment operators
-  // once we remove the reference member variable.
-  Gnuplot::Gnuplot(const Gnuplot &flags)
-    : Gnuplot(flags.write_cell_numbers,
-              flags.n_extra_curved_line_points,
-              flags.curved_inner_cells,
-              flags.write_additional_boundary_lines)
-  {}
-
-
-
-  Gnuplot &
-  Gnuplot::operator=(const Gnuplot &flags)
-  {
-    write_cell_numbers              = flags.write_cell_numbers;
-    n_extra_curved_line_points      = flags.n_extra_curved_line_points;
-    curved_inner_cells              = flags.curved_inner_cells;
-    write_additional_boundary_lines = flags.write_additional_boundary_lines;
-
-    return *this;
-  }
-
-
 
   void
   Gnuplot::declare_parameters(ParameterHandler &param)
-- 
2.39.5