suppress wrong warning

This commit is contained in:
Michele Caini
2019-05-09 16:37:41 +02:00
parent 150b83b4f3
commit b1325a7514

View File

@@ -1371,7 +1371,8 @@ public:
curr->construct(entity);
} else {
const auto pos = curr->owned++;
(swap<Owned>(0, std::get<pool_type<Owned> *>(cpools), entity, pos), ...);
// useless this-> used to suppress a warning with gcc and clang
(this->swap<Owned>(0, std::get<pool_type<Owned> *>(cpools), entity, pos), ...);
}
}
});