From becfea01b0fbffbb7f9ea23d43ee81df36425672 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 6 Jun 2018 00:25:16 +0200 Subject: [PATCH] Simplify GridOut::Gnuplot --- include/deal.II/grid/grid_out.h | 13 ------------- source/grid/grid_out.cc | 14 -------------- 2 files changed, 27 deletions(-) diff --git a/include/deal.II/grid/grid_out.h b/include/deal.II/grid/grid_out.h index 477763b0fa..bed9ef5303 100644 --- a/include/deal.II/grid/grid_out.h +++ b/include/deal.II/grid/grid_out.h @@ -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. */ diff --git a/source/grid/grid_out.cc b/source/grid/grid_out.cc index 6d0d602ff6..0406f0444a 100644 --- a/source/grid/grid_out.cc +++ b/source/grid/grid_out.cc @@ -168,12 +168,6 @@ namespace GridOutFlags - Gnuplot::Gnuplot(Gnuplot &&flags) : - Gnuplot(static_cast(flags)) - {} - - - Gnuplot & Gnuplot::operator=(const Gnuplot &flags) { @@ -187,14 +181,6 @@ namespace GridOutFlags - Gnuplot & - Gnuplot::operator=(Gnuplot &&flags) - { - return operator=(static_cast(flags)); - } - - - void Gnuplot::declare_parameters(ParameterHandler ¶m) { -- 2.39.5