From 2a3ade048eab1f72580ef40ec488cb4a6908aa98 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 21 Oct 2022 08:06:14 -0700 Subject: [PATCH] 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( | ^~~~~~ --- tests/svg_element.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0