aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2439e04..11a01fb 100644
--- a/README.md
+++ b/README.md
@@ -243,7 +243,7 @@ class CollisionSystem : public System<CollisionSystem> {
Objects interested in receiving collision information can subscribe to ``Collision`` events by first subclassing the CRTP class ``Receiver<T>``:
```c++
-struct DebugSystem : public System<DebugSystem>, Receiver<DebugSystem> {
+struct DebugSystem : public System<DebugSystem>, public Receiver<DebugSystem> {
void configure(entityx::EventManager &event_manager) {
event_manager.subscribe<Collision>(*this);
}