This:
Code: Select all
_pActiveDoc->signalRecomputed.connect(std::bind(&App::Application::slotRecomputed, this, sp::_1));
Code: Select all
_pActiveDoc->signalRecomputed.connect([this](auto && PH1) {
slotRecomputed(std::forward<decltype(PH1)>(PH1));
});
Code: Select all
In template: no matching function for call to object of type '(lambda at /Users/bernie/CLionProjects/FreeCAD/src/App/Application.cpp:497:43)'
In Document.h:
Code: Select all
boost::signals2::signal<void (const App::Document&, const std::vector<App::DocumentObject*>&)> signalRecomputed;
I'm out of my depth here, but there is for sure an inconsistency.