mirror of https://github.com/axmolengine/axmol.git
issue #4129: Adds default argument(nullptr) for dispatchCustomEvent.
This commit is contained in:
parent
b2cebebbaf
commit
d33017f27a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue