Skip to content

Commit

Permalink
[ci] Fix includes in GeoZones
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Apr 26, 2024
1 parent 33a6371 commit c733b08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions examples/Advanced/GeoZones/GeoZones.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#include "GeoZones.hpp"

#include <avnd/binding/ossia/from_value.hpp>
#include <avnd/binding/ossia/to_value.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/multi_polygon.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <ossia/detail/fmt.hpp>
#include <ossia/detail/json.hpp>

#include <QDebug>
namespace co
{
static result pip(const zone& z, double latitude, double longitude, double blur)
Expand Down
5 changes: 4 additions & 1 deletion examples/Advanced/GeoZones/GeoZones.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#pragma once
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <boost/variant2.hpp>
#include <halp/controls.hpp>
#include <halp/layout.hpp>
#include <halp/meta.hpp>
#include <ossia/detail/flat_map.hpp>
#include <ossia/detail/flat_set.hpp>
#include <ossia/network/value/value.hpp>
namespace co
{

Expand Down Expand Up @@ -39,7 +42,7 @@ struct zone_display
static constexpr double width() { return 100.; }
static constexpr double height() { return 100.; }

void paint(avnd::painter auto ctx)
void paint(auto ctx)
{
ctx.set_fill_color({255, 255, 255, 255});
for(const auto& zone : zones)
Expand Down

0 comments on commit c733b08

Please sign in to comment.