Ensure that <iterator> is included before back_inserter is used

Closes #2231
This commit is contained in:
Martin Hořeňovský 2021-05-21 20:02:22 +02:00
parent 5c88067bd3
commit 6971476563
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "detail/catch_run_for_at_least.hpp"
#include <algorithm>
#include <iterator>
namespace Catch {
namespace Benchmark {

View File

@ -21,6 +21,8 @@
#if defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
#include "benchmark/catch_estimate.hpp"
#include "benchmark/catch_outlier_classification.hpp"
#include <iterator>
#endif // CATCH_CONFIG_ENABLE_BENCHMARKING