EntityX::components() requires the entity ID in both its non-const and
const variants, butEntity::components() passed said ID in only one such
variant.
This commit also includes a test (almost identical to the existing
Entity::components() test) to exercise the compiler on this code path.
EntityX::components()
requires the entity ID in both its non-const and const variants, butEntity::components()
passed said ID in only one such variant.This commit also includes a test (almost identical to the existing
Entity::components()
test) to exercise the compiler on this code path.