Skip to content
Snippets Groups Projects

Improve support with MSVC

Merged Santiago Ospina De Los Ríos requested to merge feature/support-msvc into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -40,7 +40,7 @@ template<typename T>
@@ -40,7 +40,7 @@ template<typename T>
struct Random {
struct Random {
static T gen()
static T gen()
{
{
return rand();
return T(std::rand())/RAND_MAX;
}
}
};
};
Loading