mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
revert r2497
This commit is contained in:
parent
c4699ec49f
commit
367f2b3089
@ -1365,7 +1365,10 @@ 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 const_cast<line_profile_aa&>(*m_profile); }
|
||||
|
||||
// clang error: binding of reference to type 'agg::line_profile_aa' to a value of type
|
||||
// 'const agg::line_profile_aa' drops qualifiers
|
||||
//line_profile_aa& profile() { return *m_profile; }
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
int subpixel_width() const { return m_profile->subpixel_width(); }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user