Include rule.hpp as fwd decl no longer sufficient with clang++-14

(Apple clang version 14.0.3 (clang-1403.0.22.14.1)
This commit is contained in:
Artem Pavlenko 2023-06-11 11:20:16 +01:00
parent 92426bfc8e
commit 708e2a4009

View file

@ -28,7 +28,7 @@
#include <mapnik/enumeration.hpp>
#include <mapnik/image_filter_types.hpp>
#include <mapnik/image_compositing.hpp>
#include <mapnik/rule.hpp>
#include <mapnik/warning.hpp>
MAPNIK_DISABLE_WARNING_PUSH
#include <mapnik/warning_ignore.hpp>
@ -41,8 +41,6 @@ MAPNIK_DISABLE_WARNING_POP
namespace mapnik {
class rule;
enum class filter_mode_enum { FILTER_ALL, FILTER_FIRST, filter_mode_enum_MAX };
DEFINE_ENUM(filter_mode_e, filter_mode_enum);