diff --git a/dune/solvers/transferoperators/obstaclerestrictor.hh b/dune/solvers/transferoperators/obstaclerestrictor.hh
index 975f47837950949dc5ebd33b3b055c0f4842d43f..2cbf4f0ecd57d828612fd678d05209e89dd49515 100644
--- a/dune/solvers/transferoperators/obstaclerestrictor.hh
+++ b/dune/solvers/transferoperators/obstaclerestrictor.hh
@@ -28,6 +28,8 @@ public:
                           const MultigridTransfer<DiscFuncType>& transfer,
                           const Dune::BitSetVector<blocksize>& critical) = 0;
 
+    virtual ~ObstacleRestrictor() = default;
+
 };
 
 #endif