mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix ProfSpan constructor being private
This commit is contained in:
parent
ea6985e565
commit
a7d0569bee
@ -59,7 +59,7 @@ macro_rules! span {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "tracy")]
|
#[cfg(feature = "tracy")]
|
||||||
pub struct ProfSpan(tracy_client::Span);
|
pub struct ProfSpan(pub tracy_client::Span);
|
||||||
#[cfg(not(feature = "tracy"))]
|
#[cfg(not(feature = "tracy"))]
|
||||||
pub struct ProfSpan;
|
pub struct ProfSpan;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user