Skip to content

Commit 6a380a4

Browse files
committed
Fixing builds on all platforms.
1 parent 6c07da1 commit 6a380a4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

source/code/core/utils/private/detail/refcounted.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace ice::detail
5858

5959
void RefCounted::rc_add_internal() noexcept
6060
{
61-
ICE_ASSERT_CORE(_strong < 255);
61+
ICE_ASSERT_CORE(_strong < 127);
6262
_strong += 1;
6363
}
6464

source/code/iceshard/engine/private/ecs/ecs_entity_index.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ namespace ice::ecs
145145
ice::queue::push_back(_free_indices, info.index);
146146
}
147147

148-
void EntityIndex::destroy_many(ice::Span<ice::ecs::Entity> entities) noexcept
148+
void EntityIndex::destroy_many(ice::Span<ice::ecs::Entity const> entities) noexcept
149149
{
150150
for (ice::ecs::Entity entity : entities)
151151
{

source/code/iceshard/engine/public/ice/ecs/ecs_entity_index.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace ice::ecs
3434
bool create_many(ice::Span<ice::ecs::Entity> out_entities) noexcept;
3535

3636
void destroy(ice::ecs::Entity entity) noexcept;
37-
void destroy_many(ice::Span<ice::ecs::Entity> entities) noexcept;
37+
void destroy_many(ice::Span<ice::ecs::Entity const> entities) noexcept;
3838

3939
bool recreate(ice::Array<ice::ecs::Entity>& entity, ice::u32 new_count) noexcept;
4040

source/code/iceshard/engine/public/ice/ecs/ecs_entity_operations.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ namespace ice::ecs
175175
destroy({ entities, block->block_entity_count });
176176

177177
// We want to 'unalive' entities when using this method
178-
_entities.destroy_many({ entities, block->block_entity_count });
178+
_entities.destroy_many(ice::Span{ entities, block->block_entity_count });
179179
}
180180
block = block->next;
181181
}

source/code/iceshard/iceshard/private/iceshard_engine.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ namespace ice
1616
ice::EngineCreateInfo create_info
1717
) noexcept
1818
: _allocator{ alloc }
19+
, _inputactions{ ice::move(create_info.action_stack) }
1920
, _assets{ ice::move(create_info.assets) }
2021
, _states{ ice::move(create_info.states) }
2122
, _entity_archetypes{ ice::move(create_info.archetypes) }
2223
, _entity_storage{ _allocator, *_entity_archetypes }
23-
, _inputactions{ ice::move(create_info.action_stack) }
2424
, _worlds{ _allocator, _entity_storage, ice::move(create_info.traits), *_states }
2525
{
2626
}

0 commit comments

Comments
 (0)