issue #4129: Adds default argument(nullptr) for dispatchCustomEvent.

This commit is contained in:
James Chen 2014-02-28 15:40:45 +08:00
parent b2cebebbaf
commit d33017f27a
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public:
void dispatchEvent(Event* event);
/** Dispatches a Custom Event with a event name an optional user data */
void dispatchCustomEvent(const std::string &eventName, void *optionalUserData);
void dispatchCustomEvent(const std::string &eventName, void *optionalUserData = nullptr);
/** Constructor of EventDispatcher */
EventDispatcher();