File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ void Engine::resolveIds()
135135 if (container)
136136 block->setCompileFunction (container->resolveBlockCompileFunc (block->opcode ()));
137137
138- monitor->impl -> blockSection = blockSection (monitor->opcode ());
138+ monitor->setBlockSection ( blockSection (monitor->opcode () ));
139139
140140 const auto &fields = block->fields ();
141141 Target *target;
@@ -254,7 +254,7 @@ void Engine::compile()
254254 MonitorNameFunc nameFunc = container->resolveMonitorNameFunc (block->opcode ());
255255
256256 if (nameFunc)
257- monitor->impl -> name = nameFunc (block.get ());
257+ monitor->setName ( nameFunc (block.get () ));
258258
259259 MonitorChangeFunc changeFunc = container->resolveMonitorChangeFunc (block->opcode ());
260260 monitor->setValueChangeFunction (changeFunc);
@@ -1537,14 +1537,14 @@ void Engine::addVarOrListMonitor(std::shared_ptr<Monitor> monitor, Target *targe
15371537 if (!target->isStage ())
15381538 monitor->setSprite (dynamic_cast <Sprite *>(target));
15391539
1540- monitor->impl -> blockSection = blockSection (monitor->opcode ());
1540+ monitor->setBlockSection ( blockSection (monitor->opcode () ));
15411541 auto container = blockSectionContainer (monitor->opcode ());
15421542
15431543 if (container) {
15441544 MonitorNameFunc nameFunc = container->resolveMonitorNameFunc (monitor->opcode ());
15451545
15461546 if (nameFunc)
1547- monitor->impl -> name = nameFunc (monitor->block ().get ());
1547+ monitor->setName ( nameFunc (monitor->block ().get () ));
15481548
15491549 MonitorChangeFunc changeFunc = container->resolveMonitorChangeFunc (monitor->opcode ());
15501550 monitor->setValueChangeFunction (changeFunc);
You can’t perform that action at this time.
0 commit comments