From 7095b1c907bec04249a6ac0769945a1aec9c3af9 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 2 Apr 2011 00:12:12 +0000 Subject: [PATCH] initialize all metawriter members --- include/mapnik/metawriter.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/mapnik/metawriter.hpp b/include/mapnik/metawriter.hpp index db078ec52..a1f9ce22c 100644 --- a/include/mapnik/metawriter.hpp +++ b/include/mapnik/metawriter.hpp @@ -72,7 +72,10 @@ class metawriter { public: typedef coord_transform2 path_type; - metawriter(metawriter_properties dflt_properties) : dflt_properties_(dflt_properties) {} + metawriter(metawriter_properties dflt_properties) : + dflt_properties_(dflt_properties), + width_(0), + height_(0) {} virtual ~metawriter() {}; /** Output a rectangular area. * \param box Area (in pixel coordinates)