]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a redefinition of a static variable.
authorDavid Wells <wellsd2@rpi.edu>
Tue, 3 Jan 2017 17:07:10 +0000 (12:07 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 5 Jan 2017 03:08:30 +0000 (22:08 -0500)
This was caught by cppcheck. The base class also defines dimension in
the same way.

include/deal.II/base/tensor_product_polynomials_bubbles.h

index cfead87bd81b6359483542255ca13095a01caa99..bc9ddd616b8c738a9cbe02e446671c63744ddea7 100644 (file)
@@ -48,12 +48,6 @@ template <int dim>
 class TensorProductPolynomialsBubbles : public TensorProductPolynomials<dim>
 {
 public:
-  /**
-   * Access to the dimension of this object, for checking and automatic
-   * setting of dimension in other classes.
-   */
-  static const unsigned int dimension = dim;
-
   /**
    * Constructor. <tt>pols</tt> is a vector of objects that should be derived
    * or otherwise convertible to one-dimensional polynomial objects. It will

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.