From 3b0f5959bbea065b07538f9952ae520ab5a06c27 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 23 Feb 2012 16:49:07 +0000 Subject: [PATCH] Fix compilation on clang --- agg24/include/agg_renderer_outline_aa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agg24/include/agg_renderer_outline_aa.h b/agg24/include/agg_renderer_outline_aa.h index e3629db726e8..e5e3b50fd18c 100644 --- a/agg24/include/agg_renderer_outline_aa.h +++ b/agg24/include/agg_renderer_outline_aa.h @@ -1365,7 +1365,7 @@ namespace agg //--------------------------------------------------------------------- void profile(const line_profile_aa& prof) { m_profile = &prof; } const line_profile_aa& profile() const { return *m_profile; } - line_profile_aa& profile() { return *m_profile; } + const line_profile_aa& profile() { return *m_profile; } //--------------------------------------------------------------------- int subpixel_width() const { return m_profile->subpixel_width(); }