]> granicus.if.org Git - graphviz/commit
tests: fix missing #include
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 21 Oct 2022 15:06:14 +0000 (08:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 2 Nov 2022 01:55:55 +0000 (18:55 -0700)
commit2a3ade048eab1f72580ef40ec488cb4a6908aa98
tree34feb3f5c2bc1d16e5ae9494486dcea91184f707
parent3cf7af39dc9b94d523997b6074119c7692547b31
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