summaryrefslogtreecommitdiff
path: root/http/logging.h
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-10-24 21:12:47 +0300
committerJames Feist <james.feist@linux.intel.com>2019-11-11 23:33:48 +0300
commit99131cd04bfc4a187e7a8d63803cb8911e64a08e (patch)
treec85b64c16b541561965f014d6e850279da04d3db /http/logging.h
parenta9cbc9cd3c957996831d731ad50c69f920ab065b (diff)
downloadbmcweb-99131cd04bfc4a187e7a8d63803cb8911e64a08e.tar.xz
Replace all uses of NULL with nullptr
This was an automatic change made by clang-tidy. It moves all uses of NULL to nullptr, which are equivalent, but nullptr is prefered. Tested: Code compiles. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: I9526599b222693c9723a69934b599c7a5b5d1fbf
Diffstat (limited to 'http/logging.h')
-rw-r--r--http/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/logging.h b/http/logging.h
index a608f1f1f5..eb04cc1967 100644
--- a/http/logging.h
+++ b/http/logging.h
@@ -27,7 +27,7 @@ class logger
{
std::string date;
date.resize(32, '\0');
- time_t t = time(0);
+ time_t t = time(nullptr);
tm myTm{};