mirror of https://github.com/CGAL/cgal
Do not call `Random(char*)` in header-only
Follow-up to:
> ef624f92de
> Author: Andreas Fabri <andreas.fabri@geometryfactory.com>
> Date: Wed Mar 23 13:01:21 2016 +0100
>
> No need for a constructor just for default_random
This commit is contained in:
parent
fd4e0a51cc
commit
d2b0900ec9
|
|
@ -237,7 +237,7 @@ CGAL_EXPORT extern Random default_random;
|
|||
#ifdef CGAL_HEADER_ONLY
|
||||
inline Random& get_default_random()
|
||||
{
|
||||
static Random default_random("default");
|
||||
static Random default_random;
|
||||
return default_random;
|
||||
}
|
||||
#else // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
Loading…
Reference in New Issue