summaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-21 15:58:47 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:50 +0100
commit49e45d532f80c6ffc60c2fbd754030a11dfc8893 (patch)
tree2a9bff47e6ce0ed7e71330ba3678bc8cafc98685 /include/log.h
parent29fc4839b7aaf76c3587cf0d268546fd1d1390c4 (diff)
downloadlibnitrokey-49e45d532f80c6ffc60c2fbd754030a11dfc8893.tar.gz
libnitrokey-49e45d532f80c6ffc60c2fbd754030a11dfc8893.tar.bz2
Use nullptr instead of NULL
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h
index a3e8281..7c25918 100644
--- a/include/log.h
+++ b/include/log.h
@@ -34,7 +34,7 @@ class Log {
Log() : mp_loghandler(&stdlog_handler), m_loglevel(Loglevel::WARNING) {}
static Log &instance() {
- if (mp_instance == NULL) mp_instance = new Log;
+ if (mp_instance == nullptr) mp_instance = new Log;
return *mp_instance;
}