about summary refs log tree commit diff
path: root/src/libutil/logging.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-29T13·53+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-29T13·59+0200
commit588dad4084711e71a4dcb0758b2daf2fe03e2c8b (patch)
treede9c816d9bfa857aeeab593104c9be4414840b75 /src/libutil/logging.cc
parent63145be2a5ac46a283f85c835fa84bf54db59bbe (diff)
Fix build failure on Debian/Ubuntu
http://hydra.nixos.org/build/53537463
Diffstat (limited to 'src/libutil/logging.cc')
-rw-r--r--src/libutil/logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index 2d0acca24216..43245f61c601 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -76,7 +76,7 @@ Logger * makeDefaultLogger()
     return new SimpleLogger();
 }
 
-std::atomic<uint64_t> Activity::nextId{(uint64_t) getpid() << 32};
+std::atomic<uint64_t> nextId{(uint64_t) getpid() << 32};
 
 Activity::Activity() : id(nextId++) { };