Skip to content

Commit

Permalink
Add missing include for VxWorks build. (#2515)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
Rijom committed Sep 8, 2022
1 parent 4adf010 commit 32eae0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/catch2/internal/catch_sharding.hpp
Expand Up @@ -11,6 +11,7 @@
#include <catch2/catch_session.hpp>

#include <cmath>
#include <algorithm>

namespace Catch {

Expand Down

0 comments on commit 32eae0e

Please sign in to comment.