Skip to content

Commit d4a43ea

Browse files
committed
Fix bevy_ecs builds
1 parent c3a05ed commit d4a43ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/bevy_tasks/src/single_threaded_task_pool.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl TaskPool {
108108
F: for<'scope> FnOnce(&'env mut Scope<'scope, 'env, T>),
109109
T: Send + 'static,
110110
{
111-
self.scope_with_executor(false, None, f)
111+
self.scope_with_executor(None, f)
112112
}
113113

114114
/// Allows spawning non-`'static` futures on the thread pool. The function takes a callback,
@@ -119,7 +119,6 @@ impl TaskPool {
119119
#[expect(unsafe_code, reason = "Required to transmute lifetimes.")]
120120
pub fn scope_with_executor<'env, F, T>(
121121
&self,
122-
_tick_task_pool_executor: bool,
123122
_thread_executor: Option<&ThreadSpawner>,
124123
f: F,
125124
) -> Vec<T>

0 commit comments

Comments
 (0)