mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Fix bad conflict resolution
This commit is contained in:
parent
f2ffc0ebf6
commit
b645860e27
1 changed files with 1 additions and 3 deletions
|
@ -460,8 +460,6 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
~ComponentDefinition() { sixtyfps_interpreter_component_definition_destructor(&inner); }
|
~ComponentDefinition() { sixtyfps_interpreter_component_definition_destructor(&inner); }
|
||||||
}
|
|
||||||
|
|
||||||
ComponentHandle<ComponentInstance> create() const {
|
ComponentHandle<ComponentInstance> create() const {
|
||||||
union CI {
|
union CI {
|
||||||
cbindgen_private::ComponentInstance i;
|
cbindgen_private::ComponentInstance i;
|
||||||
|
@ -472,7 +470,7 @@ public:
|
||||||
} u;
|
} u;
|
||||||
cbindgen_private::sixtyfps_interpreter_component_instance_create(&inner, &u.i);
|
cbindgen_private::sixtyfps_interpreter_component_instance_create(&inner, &u.i);
|
||||||
return *reinterpret_cast<ComponentHandle<ComponentInstance> *>(&u.i);
|
return *reinterpret_cast<ComponentHandle<ComponentInstance> *>(&u.i);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class ComponentCompiler
|
class ComponentCompiler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue