Skip to content

Commit 8a51315

Browse files
committed
Fix perf build on Linux
1 parent 5fa1b6f commit 8a51315

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

perf/PerfConsumer.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include <lib/LogUtils.h>
2020
DECLARE_LOG_OBJECT()
2121

22+
// Don't remove this line because p_square_quantile.hpp requires including <algorithm> on some platforms
23+
#include <algorithm>
2224
#include <chrono>
2325
#include <fstream>
2426
#include <functional>

perf/PerfProducer.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include <lib/LogUtils.h>
2020
DECLARE_LOG_OBJECT()
2121

22+
// Don't remove this line because p_square_quantile.hpp requires including <algorithm> on some platforms
23+
#include <algorithm>
2224
#include <boost/accumulators/accumulators.hpp>
2325
#include <boost/accumulators/statistics/mean.hpp>
2426
#include <boost/accumulators/statistics/p_square_quantile.hpp>

0 commit comments

Comments
 (0)