diff options
| author | Martin Hořeňovský | 2017-01-07 12:58:01 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-01-09 23:29:13 +0100 |
| commit | 6991549457a13aa73f4ca59862b794ee7ed5e177 (patch) | |
| tree | 4c98f0717bf0ec01ee9eacd79470697e925a7b90 /projects/SelfTest/ToStringVector.cpp | |
| parent | b50572bbfdff26a4a32e7037ad27fc15be5db44b (diff) | |
| download | catch3-6991549457a13aa73f4ca59862b794ee7ed5e177.tar.gz | |
Fixed compile error under VS2015 /c++:latest, caused by using random_shuffle
Now if we detect C++11 compiler, or MSVC in version corresponding to VS2015,
we switch from using `std::random_shuffle` to `std::shuffle`.
`std::random_shuffle` was officially deprecated in C++14, and removed in C++17.
Also removed guarded inclusion of `<random>` header, as there was nothing
in the header that used it.
Diffstat (limited to 'projects/SelfTest/ToStringVector.cpp')
0 files changed, 0 insertions, 0 deletions