mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 13:19:55 +01:00
Ensure that <iterator> is included before back_inserter is used
Closes #2231
This commit is contained in:
parent
5c88067bd3
commit
6971476563
@ -19,6 +19,7 @@
|
|||||||
#include "detail/catch_run_for_at_least.hpp"
|
#include "detail/catch_run_for_at_least.hpp"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <iterator>
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
namespace Benchmark {
|
namespace Benchmark {
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
#if defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
|
#if defined(CATCH_CONFIG_ENABLE_BENCHMARKING)
|
||||||
#include "benchmark/catch_estimate.hpp"
|
#include "benchmark/catch_estimate.hpp"
|
||||||
#include "benchmark/catch_outlier_classification.hpp"
|
#include "benchmark/catch_outlier_classification.hpp"
|
||||||
|
|
||||||
|
#include <iterator>
|
||||||
#endif // CATCH_CONFIG_ENABLE_BENCHMARKING
|
#endif // CATCH_CONFIG_ENABLE_BENCHMARKING
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user