From 941f20d1b75042b1c3f0b83a1e9d1acec5d231ef Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 3 May 2020 00:47:37 +0200 Subject: [PATCH] tests: Fix a Boost header deprecation warning. --- test/view/ruler.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/view/ruler.cpp b/test/view/ruler.cpp index 5cef38d5..4a4eac8f 100644 --- a/test/view/ruler.cpp +++ b/test/view/ruler.cpp @@ -17,7 +17,12 @@ * along with this program; if not, see . */ +#include +#if BOOST_VERSION >= 107100 // 1.71 deprecated the old header location. +#include +#else #include +#endif #include #include "pv/views/trace/ruler.hpp" -- 2.30.2