From: Daniel Arndt Date: Tue, 5 Jun 2018 22:25:16 +0000 (+0200) Subject: Simplify GridOut::Gnuplot X-Git-Tag: v9.1.0-rc1~1070^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=becfea01b0fbffbb7f9ea23d43ee81df36425672;p=dealii.git Simplify GridOut::Gnuplot --- 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) {