diff options
Diffstat (limited to 'common/events.h')
-rw-r--r-- | common/events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/events.h b/common/events.h index 3e77824110..ba31610e92 100644 --- a/common/events.h +++ b/common/events.h @@ -145,7 +145,7 @@ public: /** * Pushes a "fake" event into the event queue */ - virtual void pushEvent(Common::Event event) = 0; + virtual void pushEvent(const Common::Event &event) = 0; /** Register random source so it can be serialized in game test purposes **/ virtual void registerRandomSource(Common::RandomSource &rnd, const char *name) = 0; |