diff --git a/examples/libexampletools/jkqtpexampleapplication.h b/examples/libexampletools/jkqtpexampleapplication.h index 17da0f6d6d0..058fc3e2442 100644 --- a/examples/libexampletools/jkqtpexampleapplication.h +++ b/examples/libexampletools/jkqtpexampleapplication.h @@ -41,6 +41,7 @@ public Q_SLOTS: std::function f; std::function plotf; JKQTPlotter* p; + inline Data() {}; inline Data(const std::function& f_): type(FunctorType), f(f_), plotf(), p(nullptr) {}