diff --git a/dune/elasticity/materials/material.hh b/dune/elasticity/materials/material.hh
index 524b0049e4d07305eec9c2f83f55f9e0f6ffb16d..c8af0a2e2d998ad463bd28c1bd956b366f93a6f1 100644
--- a/dune/elasticity/materials/material.hh
+++ b/dune/elasticity/materials/material.hh
@@ -42,7 +42,7 @@ class Material
         }
 
         //! Evaluate the strain energy
-        virtual ReturnType energy(Dune::shared_ptr<GridFunction> displace) = 0;
+        virtual ReturnType energy(std::shared_ptr<GridFunction> displace) = 0;
 
         //! Return the local assembler of the first derivative of the strain energy at some displacement
         virtual LocalLinearization& firstDerivative(std::shared_ptr<GridFunction> displace) = 0;