File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ mapnik::image_dtype get_type(mapnik::image_any & im)
173173
174174std::shared_ptr<image_any> open_from_file (std::string const & filename)
175175{
176- boost::optional<std::string> type = type_from_filename (filename);
176+ auto type = type_from_filename (filename);
177177 if (type)
178178 {
179179 std::unique_ptr<image_reader> reader (get_image_reader (filename,*type));
Original file line number Diff line number Diff line change 2525#include < mapnik/layer.hpp>
2626#include < mapnik/datasource.hpp>
2727#include < mapnik/datasource_cache.hpp>
28- #include " python_optional.hpp"
2928// pybind11
3029#include < pybind11/pybind11.h>
3130#include < pybind11/operators.h>
Original file line number Diff line number Diff line change 2525#include < mapnik/rule.hpp>
2626#include < mapnik/expression.hpp>
2727#include < mapnik/expression_string.hpp>
28- // #include "python_variant.hpp"
2928// pybind11
3029#include < pybind11/pybind11.h>
3130#include < pybind11/operators.h>
You can’t perform that action at this time.
0 commit comments