mapnik::Layer assignment bug?

View: New views
2 Messages — Rating Filter:   Alert me  

mapnik::Layer assignment bug?

by Shaft-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

While trying to catch a very randomly behaving bug, I came across mapnik::Layer assignment operator implementation. Shouldn't Layer::swap(const Layer& rhs) also copy srs_? Or am I missing something totally obvious?

BR,
Serguei
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: mapnik::Layer assignment bug?

by Artem Pavlenko-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Serguei,

Thanks for reporting this - it's a bug indeed. Looks like operator= wasn't kept in sync - seeĀ http://trac.mapnik.org/ticket/448

Artem

2009/11/8 Shaft <shaft@...>
Hi all,

While trying to catch a very randomly behaving bug, I came across mapnik::Layer assignment operator implementation. Shouldn't Layer::swap(const Layer& rhs) also copy srs_? Or am I missing something totally obvious?

BR,
Serguei
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users


_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users