diff options
| author | Riom | 2022-09-08 10:21:36 +0200 |
|---|---|---|
| committer | GitHub | 2022-09-08 10:21:36 +0200 |
| commit | 32eae0ecce470639344b121186fb76a240de04b9 (patch) | |
| tree | 5f44ee19cb0ca33ab216362f51d12924df577e0f | |
| parent | 4adf0105490a9a8f14fba0f6d463a16bcafa61bd (diff) | |
| download | catch3-32eae0ecce470639344b121186fb76a240de04b9.tar.gz | |
Add missing include for VxWorks build. (#2515)
`catch_sharding.hpp` was using `std::min` without including `<algorithm>`.
This worked on most platforms, but it wasn't transitively included in
the VxWorks toolchain.
| -rw-r--r-- | src/catch2/internal/catch_sharding.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/catch2/internal/catch_sharding.hpp b/src/catch2/internal/catch_sharding.hpp index 17a206f8..5bff4b85 100644 --- a/src/catch2/internal/catch_sharding.hpp +++ b/src/catch2/internal/catch_sharding.hpp @@ -11,6 +11,7 @@ #include <catch2/catch_session.hpp> #include <cmath> +#include <algorithm> namespace Catch { |