Permalink
Browse files

add a catch all symbolizer to avoid compile error when new ones are a…

…dded (like debug symbolizer)
  • Loading branch information...
1 parent c2f8aee commit 3ab4cf3620bc630785a1d230217ddb27f6ac4013 Dane Springmeyer committed Sep 16, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/mapnik_map.cpp
View
@@ -239,6 +239,11 @@ class sizeof_symbolizer : public boost::static_visitor<>
*usage_ += (sizeof(sym)*factor_);
}
#endif
+ void operator () ( mapnik::symbolizer const& sym )
+ {
+ *usage_ += (sizeof(sym)*factor_);
+ }
+
int * usage_;
int factor_;
};

0 comments on commit 3ab4cf3

Please sign in to comment.