workaround for an ICE of g++-5 (see #79)
This commit is contained in:
@@ -274,8 +274,8 @@ TEST(View, MultipleComponentEachWithHoles) {
|
||||
|
||||
auto view = registry.view<char, int>();
|
||||
|
||||
view.each([&](auto entity, const char &c, const int &i) {
|
||||
if(entity == e0) {
|
||||
view.each([e0](auto entity, const char &c, const int &i) {
|
||||
if(e0 == entity) {
|
||||
ASSERT_EQ(c, '0');
|
||||
ASSERT_EQ(i, 0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user