From: Brad Anderson Date: Sun, 14 Dec 2014 09:25:08 +0000 (-0700) Subject: Don't use dereference operator in events example X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=cf472895b2f3a81812f84c0d2073e4b750652a74;p=clyne%2Fentityx.git Don't use dereference operator in events example --- diff --git a/README.md b/README.md index 3a7ffd0..174a673 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ class CollisionSystem : public System { for (Entity left_entity : es.entities_with_components(left_position)) { for (Entity right_entity : es.entities_with_components(right_position)) { if (collide(left_position, right_position)) { - events->emit(left_entity, right_entity); + events.emit(left_entity, right_entity); } } }