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:
Laurent Rineau 2016-03-29 12:12:37 +02:00
parent fd4e0a51cc
commit d2b0900ec9
1 changed files with 1 additions and 1 deletions

View File

@ -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