forked from catchorg/Catch2
Ensure that <iterator> is included before back_inserter is used
Closes #2231
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user