diff --git a/dune/vtkgridfunction.hh b/dune/vtkgridfunction.hh
index 58b1feb8d3dda721cacad69bc1e4084b19ba0dd0..09d67faeba2b85db9ff43e4cfadddc1e56d61042 100644
--- a/dune/vtkgridfunction.hh
+++ b/dune/vtkgridfunction.hh
@@ -14,9 +14,8 @@ namespace Dune {
  *  \tparam CoefficientType The vector type for the coefficients.
 */
 template <class Basis, class CoefficientType>
-class VTKBasisGridFunction
-    : public VTKFunction<typename Basis::GridView::Grid> {
-  typedef VTKFunction<typename Basis::GridView::Grid> Base;
+class VTKBasisGridFunction : public VTKFunction<typename Basis::GridView> {
+  typedef VTKFunction<typename Basis::GridView> Base;
   typedef typename Basis::LocalFiniteElement::Traits::LocalBasisType::Traits::
       RangeType RangeType;