From: Uwe Hermann Date: Sat, 2 May 2020 22:47:37 +0000 (+0200) Subject: tests: Fix a Boost header deprecation warning. X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=941f20d1b75042b1c3f0b83a1e9d1acec5d231ef tests: Fix a Boost header deprecation warning. --- 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"