This commit is contained in:
Matthias Koefferlein
2022-05-01 10:30:26 +02:00
parent 63a1b24d24
commit 9b7a237a79
26 changed files with 466 additions and 234 deletions
@@ -24,6 +24,7 @@
#include "layDispatcher.h"
#include "layPlugin.h"
#include "layLayoutView.h"
namespace lay
{
@@ -104,7 +105,9 @@ public:
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutViewBase *view) const
{
return new DiffPlugin (root, view);
lay::LayoutView *lv = dynamic_cast<lay::LayoutView *> (view);
tl_assert (lv != 0);
return new DiffPlugin (root, lv);
}
};