From e572b83d3aeb56e1140bf20af8b28c9704bd982e Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 15 Jun 2010 13:36:41 +0000 Subject: [PATCH] + fix copy ctor in symbolizer_with_image --- include/mapnik/symbolizer.hpp | 2 +- src/symbolizer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/symbolizer.hpp b/include/mapnik/symbolizer.hpp index 0faa429c3..f0f696dc7 100644 --- a/include/mapnik/symbolizer.hpp +++ b/include/mapnik/symbolizer.hpp @@ -48,8 +48,8 @@ protected: symbolizer_with_image(path_expression_ptr filename); symbolizer_with_image(symbolizer_with_image const& rhs); path_expression_ptr image_filename_; - transform_type matrix_; float opacity_; + transform_type matrix_; }; } diff --git a/src/symbolizer.cpp b/src/symbolizer.cpp index d2c0fb767..250e8389c 100644 --- a/src/symbolizer.cpp +++ b/src/symbolizer.cpp @@ -40,9 +40,9 @@ symbolizer_with_image::symbolizer_with_image(path_expression_ptr file) symbolizer_with_image::symbolizer_with_image( symbolizer_with_image const& rhs) : image_filename_(rhs.image_filename_), + opacity_(rhs.opacity_), matrix_(rhs.matrix_) {} - path_expression_ptr symbolizer_with_image::get_filename() const { return image_filename_;