From: Matthew Fernandez Date: Fri, 21 Oct 2022 15:06:14 +0000 (-0700) Subject: tests: fix missing #include X-Git-Tag: 7.0.1~15^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a3ade048eab1f72580ef40ec488cb4a6908aa98;p=graphviz tests: fix missing #include The default toolchain on Ubuntu 22.10 comes with a slightly more pedantic header layout: [ 87%] Building CXX object tests/CMakeFiles/test_common.dir/svg_element.cpp.o tests/svg_element.cpp: In member function 'SVG::SVGRect SVG::SVGElement::outline_bbox(bool)': tests/svg_element.cpp:287:29: error: 'all_of' is not a member of 'std' 287 | auto is_vertical = std::all_of( | ^~~~~~ tests/svg_element.cpp:290:31: error: 'all_of' is not a member of 'std' 290 | auto is_horizontal = std::all_of( | ^~~~~~ --- diff --git a/tests/svg_element.cpp b/tests/svg_element.cpp index 5e1b2d9d5..388ea3922 100644 --- a/tests/svg_element.cpp +++ b/tests/svg_element.cpp @@ -1,3 +1,4 @@ +#include #include #include #include