fix(scene): cfg-gate test-only refresh_pending_any to silence dead-code warning
This commit is contained in:
parent
319710f36b
commit
de1c1798a0
1 changed files with 1 additions and 0 deletions
|
|
@ -2561,6 +2561,7 @@ impl Scene {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// True while any force is still pending (never cleared falsely).
|
/// True while any force is still pending (never cleared falsely).
|
||||||
|
#[cfg(test)]
|
||||||
pub fn refresh_pending_any(&self) -> bool {
|
pub fn refresh_pending_any(&self) -> bool {
|
||||||
!self.pending_refresh.borrow().is_empty()
|
!self.pending_refresh.borrow().is_empty()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue