Kaydet (Commit) 998dde80 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS thb30fixes (1.2.30); FILE MERGED

2008/06/20 15:47:55 thb 1.2.30.1: #i78214# Fix for const-incorrectness
üst 43353b62
......@@ -1372,7 +1372,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; }
line_profile_aa& profile() { return const_cast<line_profile_aa&>(*m_profile); }
//---------------------------------------------------------------------
int subpixel_width() const { return m_profile->subpixel_width(); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment