diff --git a/dune/gfe/assemblers/nonplanarcosseratshellenergy.hh b/dune/gfe/assemblers/nonplanarcosseratshellenergy.hh
index 0b50acb93f22ab57064345df1b471a720409425d..54b8a1b5cea33a274cf731cc722eec1e89c3060e 100644
--- a/dune/gfe/assemblers/nonplanarcosseratshellenergy.hh
+++ b/dune/gfe/assemblers/nonplanarcosseratshellenergy.hh
@@ -93,7 +93,7 @@ public:
 
   /** \brief Assemble the energy for a single element */
   RT energy (const typename Basis::LocalView& localView,
-             const std::vector<TargetSpace>& localSolution) const;
+             const std::vector<TargetSpace>& localSolution) const override;
 
   /** \brief Assemble the energy for a single element */
   RT energy (const typename Basis::LocalView& localView,