aboutsummaryrefslogtreecommitdiff
path: root/common/EventDispatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/EventDispatcher.cpp')
-rw-r--r--common/EventDispatcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/EventDispatcher.cpp b/common/EventDispatcher.cpp
index 5c8a9a3119..617ce32d36 100644
--- a/common/EventDispatcher.cpp
+++ b/common/EventDispatcher.cpp
@@ -24,7 +24,7 @@
namespace Common {
-EventDispatcher::EventDispatcher() : _autoFreeMapper(false), _mapper(0) {
+EventDispatcher::EventDispatcher() : _autoFreeMapper(false), _mapper(nullptr) {
}
EventDispatcher::~EventDispatcher() {
@@ -41,7 +41,7 @@ EventDispatcher::~EventDispatcher() {
if (_autoFreeMapper) {
delete _mapper;
}
- _mapper = 0;
+ _mapper = nullptr;
}
void EventDispatcher::dispatch() {