diff --git a/dune/common/shared_ptr.hh b/dune/common/shared_ptr.hh
index ec83e99235554aea04b0503791c12c3cded59c88..a416976b2d684bc1e95696a21120eb6946cddb99 100644
--- a/dune/common/shared_ptr.hh
+++ b/dune/common/shared_ptr.hh
@@ -178,7 +178,7 @@ namespace Dune
   }
 
   template<class T>
-  inline int shared_ptr<T>::count() const
+  inline int shared_ptr<T>::use_count() const
   {
     return rep_->count_;
   }