We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92625eb commit 7b8b4eeCopy full SHA for 7b8b4ee
src/python_to_value.hpp
@@ -48,15 +48,15 @@ namespace mapnik {
48
}
49
else if (py::isinstance<py::bool_>(handle))
50
{
51
- vars[key] = handle.cast<bool>();
+ vars[key] = handle.cast<mapnik::value_bool>();
52
53
else if (py::isinstance<py::float_>(handle))
54
55
- vars[key] = handle.cast<double>();
+ vars[key] = handle.cast<mapnik::value_double>();
56
57
else if (py::isinstance<py::int_>(handle))
58
59
- vars[key] = handle.cast<long long>();
+ vars[key] = handle.cast<mapnik::value_integer>();
60
61
else
62
0 commit comments