Fixup fromcvs/togit conversion
[pkgsrcv2.git] / graphics / py-matplotlib-tk / patches / patch-agg24-include-agg_renderer_outline_aa.h
1 $NetBSD$
2
3 Don't leak non-const reference to const private member.
4
5 --- agg24/include/agg_renderer_outline_aa.h.orig        2011-09-07 14:29:12.000000000 +0000
6 +++ agg24/include/agg_renderer_outline_aa.h
7 @@ -1365,7 +1365,6 @@ namespace agg
8          //---------------------------------------------------------------------
9          void profile(const line_profile_aa& prof) { m_profile = &prof; }
10          const line_profile_aa& profile() const { return *m_profile; }
11 -        line_profile_aa& profile() { return *m_profile; }
12  
13          //---------------------------------------------------------------------
14          int subpixel_width() const { return m_profile->subpixel_width(); }