From b14b35e14370d71f86f41e5f59d1bdb6f558c193 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Tue, 15 Sep 2015 11:16:19 +1000 Subject: Fix spurious warning from VC. Fixes #109. --- entityx/Entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entityx/Entity.h b/entityx/Entity.h index 0565f9c..4fc5f5e 100644 --- a/entityx/Entity.h +++ b/entityx/Entity.h @@ -599,7 +599,7 @@ class EntityManager : entityx::help::NonCopyable { // Placement new into the component pool. Pool *pool = accomodate_component(); - new(pool->get(id.index())) C(std::forward(args) ...); + ::new(pool->get(id.index())) C(std::forward(args) ...); // Set the bit for this component. entity_component_mask_[id.index()].set(family); -- cgit v1.2.3