fixed typo

This commit is contained in:
Michele Caini
2018-03-01 19:22:26 +01:00
parent 871f090ca0
commit 434e38608f

View File

@@ -287,7 +287,7 @@ public:
* @brief Disconnects all the listeners for the given event type.
*
* All the connections previously returned for the given event are
* invalidated. Using them results in undefined behaviour.
* invalidated. Using them results in undefined behavior.
*
* @tparam Event Type of event to reset.
*/
@@ -300,7 +300,7 @@ public:
* @brief Disconnects all the listeners.
*
* All the connections previously returned are invalidated. Using them
* results in undefined behaviour.
* results in undefined behavior.
*/
void clear() noexcept {
std::for_each(handlers.begin(), handlers.end(),