aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/output_conf.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-06-20 18:43:09 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-06-23 11:59:55 -0700
commit3f2aca298c28e50745926a96758f4641dc73cf51 (patch)
tree88c7cbdcc9e6bb6e530849f71ca9df4055f6f418 /paludis/environments/paludis/output_conf.cc
parentf5088a55a9c88793a53172b7029713f2f64e687a (diff)
downloadpaludis-3f2aca298c28e50745926a96758f4641dc73cf51.tar.gz
paludis-3f2aca298c28e50745926a96758f4641dc73cf51.tar.xz
C++11: auto convert to nullptr via cpp11-migrate
This is a blanket migration via the clang C++11 migration tool to convert NULL pointer to nullptr usage. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/environments/paludis/output_conf.cc')
-rw-r--r--paludis/environments/paludis/output_conf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/environments/paludis/output_conf.cc b/paludis/environments/paludis/output_conf.cc
index a53b73c..6886b96 100644
--- a/paludis/environments/paludis/output_conf.cc
+++ b/paludis/environments/paludis/output_conf.cc
@@ -249,7 +249,7 @@ namespace
m->insert("green", "\033[1;32m");
m->insert("blue", "\033[1;34m");
m->insert("normal", "\033[0;0m");
- m->insert("time", stringify(time(0)));
+ m->insert("time", stringify(time(nullptr)));
m->insert("pid", stringify(getpid()));
const std::shared_ptr<const PaludisDistribution> dist(