create an object as otherwise it looks like a function pointer

This commit is contained in:
Andreas Fabri 2016-11-04 17:36:56 +01:00
parent 2cfd132227
commit e3634a3537
1 changed files with 2 additions and 1 deletions

View File

@ -237,7 +237,8 @@ public:
inline Random& get_default_random()
{
#if (defined( CGAL_TEST_SUITE ) || defined( CGAL_PRINT_SEED )) && !defined(CGAL_HEADER_ONLY)
CGAL_STATIC_THREAD_LOCAL_VARIABLE(Random, default_random, internal::Random_print_seed() );
internal::Random_print_seed rps;
CGAL_STATIC_THREAD_LOCAL_VARIABLE(Random, default_random, rps);
#else
CGAL_STATIC_THREAD_LOCAL_VARIABLE_0(Random, default_random);
#endif