Use TypeId of () for Column and Row tags in iced_pure
This commit is contained in:
parent
af122265f6
commit
8b27083cda
2 changed files with 2 additions and 4 deletions
|
|
@ -78,8 +78,7 @@ where
|
|||
Renderer: iced_native::Renderer,
|
||||
{
|
||||
fn tag(&self) -> any::TypeId {
|
||||
struct Marker;
|
||||
any::TypeId::of::<Marker>()
|
||||
any::TypeId::of::<()>()
|
||||
}
|
||||
|
||||
fn state(&self) -> Box<dyn Any> {
|
||||
|
|
|
|||
|
|
@ -78,8 +78,7 @@ where
|
|||
Renderer: iced_native::Renderer,
|
||||
{
|
||||
fn tag(&self) -> any::TypeId {
|
||||
struct Marker;
|
||||
any::TypeId::of::<Marker>()
|
||||
any::TypeId::of::<()>()
|
||||
}
|
||||
|
||||
fn state(&self) -> Box<dyn Any> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue