diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-06-08 18:48:35 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2017-06-08 18:48:35 -0300 |
commit | d2a30fef1371cf904e56f96042d686c9da439175 (patch) | |
tree | 0930b0cb0e08b955273cd4e450da4562b1f2989c /src/common/Collision/RegularGrid.h | |
parent | a409287feffae22b9690cfc58d6e3e877fe39e28 (diff) |
Core/Vmaps: build fix mk II
Diffstat (limited to 'src/common/Collision/RegularGrid.h')
-rw-r--r-- | src/common/Collision/RegularGrid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/Collision/RegularGrid.h b/src/common/Collision/RegularGrid.h index ca916d79e1b..4d045179290 100644 --- a/src/common/Collision/RegularGrid.h +++ b/src/common/Collision/RegularGrid.h @@ -59,14 +59,14 @@ public: { Node& node = getGrid(x, y); node.insert(value); - memberTable.insert(MemberTable::value_type(&value, &node)); + memberTable.emplace(&value, &node); } } } void remove(const T& value) { - for (typename MemberTable::value_type& p : Trinity::Containers::MapEqualRange(memberTable, &value)) + for (auto& p : Trinity::Containers::MapEqualRange(memberTable, &value)) p.second->remove(value); // Remove the member memberTable.erase(&value); |