mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Remove the Value(Type)
C++ constructor again
This theoretically makes sense for types that have default values, but for example Value::Model requires a pointer Rc. But since we provide concrete constructors this should not be needed.
This commit is contained in:
parent
e539d03007
commit
533b7f05ce
1 changed files with 0 additions and 1 deletions
|
@ -106,7 +106,6 @@ public:
|
|||
cbindgen_private::sixtyfps_interpreter_value_new_brush(&brush, &inner);
|
||||
}
|
||||
// Value(const Struct &);
|
||||
explicit Value(Type);
|
||||
|
||||
Type type() const { return cbindgen_private::sixtyfps_interpreter_value_type(&inner); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue