Skip to content

Commit

Permalink
Add feature flag requirement to method
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Maskery committed Dec 24, 2024
1 parent ba6ca5e commit 382feb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/query/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter> QueryIter<'w, 's, D, F> {
/// - `storage_id` must have been retrieved from `cursor.entity_source` to ensure
/// that the variant of `StorageId` matches the variant of `QueryIterationEntitySource`.
#[inline]
#[cfg(all(not(target_arch = "wasm32"), feature = "multi_threaded"))]
pub(super) unsafe fn fold_over_storage_range_by_id<B, Func>(
&mut self,
accum: B,
Expand Down

0 comments on commit 382feb9

Please sign in to comment.