* src/misc/random.cc: Declare the generator as static.
This commit is contained in:
parent
c0e9891246
commit
39eefd0c6e
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2011, 2012, 2013 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE).
|
||||
// Copyright (C) 2011, 2012, 2013, 2014 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
namespace spot
|
||||
{
|
||||
std::mt19937 gen;
|
||||
static std::mt19937 gen;
|
||||
|
||||
void
|
||||
srand(unsigned int seed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue