diff options
Diffstat (limited to 'common/rfb/Logger.cxx')
-rw-r--r-- | common/rfb/Logger.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/rfb/Logger.cxx b/common/rfb/Logger.cxx index 7e0895e4..25f7ccb7 100644 --- a/common/rfb/Logger.cxx +++ b/common/rfb/Logger.cxx @@ -31,9 +31,11 @@ using namespace rfb; -Logger* Logger::loggers = 0; +Logger* Logger::loggers = nullptr; -Logger::Logger(const char* name) : registered(false), m_name(name), m_next(0) { +Logger::Logger(const char* name) + : registered(false), m_name(name), m_next(nullptr) +{ } Logger::~Logger() { @@ -78,7 +80,7 @@ Logger::getLogger(const char* name) { if (strcasecmp(name, current->m_name) == 0) return current; current = current->m_next; } - return 0; + return nullptr; } void |