diff --git a/src/myblockproblem.hh b/src/myblockproblem.hh
index 551845202573d0276a5057cdb446e1b69e4eccde..47d518406b1d30a6df8ae922cc4376c7af55adf1 100644
--- a/src/myblockproblem.hh
+++ b/src/myblockproblem.hh
@@ -185,7 +185,7 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject {
     //            ui = bisection.minimize<OneDConvexFunction>(local_J, u[i],
     // u[i], bisectionsteps);
     return;
-  };
+  }
 
 private:
   // problem data