diff --git a/demo/src/heat.cc b/demo/src/heat.cc
index e7216a4a5a711c85a679148058b4aa6bd1c9e983..72aacec89f7fb3656b2e1d3a19e2303a95c83911 100644
--- a/demo/src/heat.cc
+++ b/demo/src/heat.cc
@@ -99,7 +99,7 @@ public:
   /** \brief
    * Used by \ref problemInitial to solve the system of the initial problem
    */
-  void solve(AdaptInfo *adaptInfo, bool) {
+  void solve(AdaptInfo *adaptInfo) {
     problemStat->getSolution()->interpol(exactSolution);
   }