Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRiom2022-09-08 10:21:36 +0200
committerGitHub2022-09-08 10:21:36 +0200
commit32eae0ecce470639344b121186fb76a240de04b9 (patch)
tree5f44ee19cb0ca33ab216362f51d12924df577e0f
parent4adf0105490a9a8f14fba0f6d463a16bcafa61bd (diff)
downloadcatch3-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.hpp1
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 {