diff options
Diffstat (limited to 'src/util/random.h')
-rw-r--r-- | src/util/random.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/random.h b/src/util/random.h index 031ef06b7..480271c03 100644 --- a/src/util/random.h +++ b/src/util/random.h @@ -21,8 +21,6 @@ #ifndef __CVC4__UTIL__RANDOM_H #define __CVC4__UTIL__RANDOM_H -#include "base/tls.h" - namespace CVC4 { class Random @@ -33,7 +31,7 @@ class Random /* Get current RNG (singleton). */ static Random& getRandom() { - static CVC4_THREAD_LOCAL Random s_current(0); + static thread_local Random s_current(0); return s_current; } |