diff --git a/src/build.py b/src/build.py index bdc343803..ef211a9cc 100644 --- a/src/build.py +++ b/src/build.py @@ -154,6 +154,7 @@ source = Split( well_known_srs.cpp params.cpp image_filter_types.cpp + image_filter_grammar.cpp miniz_png.cpp color.cpp conversions.cpp diff --git a/src/image_filter_grammar.cpp b/src/image_filter_grammar.cpp new file mode 100644 index 000000000..9a4bea35a --- /dev/null +++ b/src/image_filter_grammar.cpp @@ -0,0 +1,29 @@ +/***************************************************************************** + * + * This file is part of Mapnik (c++ mapping toolkit) + * + * Copyright (C) 2016 Artem Pavlenko + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + *****************************************************************************/ + +#include +#include +#include +#include +#include + +template struct mapnik::image_filter_grammar>; diff --git a/src/image_filter_types.cpp b/src/image_filter_types.cpp index 6755757ec..d30804378 100644 --- a/src/image_filter_types.cpp +++ b/src/image_filter_types.cpp @@ -22,7 +22,6 @@ // mapnik #include #include -#include #pragma GCC diagnostic push #include