correctly initalize markers_symbolizer default values - avoid segfaul in carto-parser

This commit is contained in:
Dane Springmeyer 2011-08-28 16:49:02 +00:00
parent 7121f6269a
commit 8a5e7b9f9a

View file

@ -53,8 +53,8 @@ markers_symbolizer::markers_symbolizer()
width_(5.0), width_(5.0),
height_(5.0), height_(5.0),
stroke_(), stroke_(),
marker_p_(), marker_p_(MARKER_LINE_PLACEMENT),
marker_type_() {} marker_type_(ARROW) {}
markers_symbolizer::markers_symbolizer(path_expression_ptr filename) markers_symbolizer::markers_symbolizer(path_expression_ptr filename)
: symbolizer_with_image(filename), : symbolizer_with_image(filename),
@ -66,8 +66,8 @@ markers_symbolizer::markers_symbolizer(path_expression_ptr filename)
width_(5.0), width_(5.0),
height_(5.0), height_(5.0),
stroke_(), stroke_(),
marker_p_(), marker_p_(MARKER_LINE_PLACEMENT),
marker_type_() {} marker_type_(ARROW) {}
markers_symbolizer::markers_symbolizer(markers_symbolizer const& rhs) markers_symbolizer::markers_symbolizer(markers_symbolizer const& rhs)
: symbolizer_with_image(rhs), : symbolizer_with_image(rhs),