Ticket #31046: py-matplotlib-clang.patch

File py-matplotlib-clang.patch, 696 bytes (added by howarth@…, 12 years ago)

fix for clang++ compilation issue

  • agg24/include/agg_renderer_outline_aa.h

    old new  
    13651365        //---------------------------------------------------------------------
    13661366        void profile(const line_profile_aa& prof) { m_profile = &prof; }
    13671367        const line_profile_aa& profile() const { return *m_profile; }
    1368         line_profile_aa& profile() { return *m_profile; }
     1368        const line_profile_aa& profile() { return *m_profile; }
    13691369
    13701370        //---------------------------------------------------------------------
    13711371        int subpixel_width() const { return m_profile->subpixel_width(); }