Skip to content

Commit

Permalink
WIPvariance
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-raillard-arm committed Nov 13, 2023
1 parent 04b5048 commit ff78db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tools/analysis/traceevent/src/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ impl<'i, 'h, 'edm, InitDescF, T> EventVisitor<'i, 'h, 'edm, InitDescF, T> {
}
}

fn __check_variance_i<'i1>(self) -> EventVisitor<'i1, 'h, 'edm, InitDescF, T>
fn __check_covariance_i<'i1>(self) -> EventVisitor<'i1, 'h, 'edm, InitDescF, T>
where
'i: 'i1,
{
self
}
fn __check_variance_h<'h1>(self) -> EventVisitor<'i, 'h1, 'edm, InitDescF, T>
fn __check_covariance_h<'h1>(self) -> EventVisitor<'i, 'h1, 'edm, InitDescF, T>
where
'h: 'h1,
{
Expand Down
7 changes: 0 additions & 7 deletions tools/analysis/traceevent/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,6 @@ impl Header {
event_desc.header = Some(Arc::clone(&header))
}
}

fn __check_variance<'h, 'h1>(&'h self) -> &'h1 Self
where
'h: 'h1,
{
self
}
}

#[derive(Clone)]
Expand Down

0 comments on commit ff78db3

Please sign in to comment.