[Marble-devel] Review Request: GeoDataLineString: ensure proper private handling

Torsten Rahn tackat at kde.org
Wed Aug 17 11:58:57 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102342/#review5771
-----------------------------------------------------------

Ship it!


It would be great if the test could also check whether the resulting objects are accessible without crashes and whether they have the expected values (if changed or kept the same). Looks fine otherwise.

- Torsten


On Aug. 16, 2011, 6:19 p.m., Thibaut Gridel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102342/
> -----------------------------------------------------------
> 
> (Updated Aug. 16, 2011, 6:19 p.m.)
> 
> 
> Review request for Marble.
> 
> 
> Summary
> -------
> 
> Ensure m_rangeCorrected is deep copied during private copy while detaching.
>     
> This avoids dangling pointers if both detached privates need to update that vector of pointers.
>     
> Thanks: Guillaume Martres for the test cases
> 
> 
> Diffs
> -----
> 
>   src/lib/geodata/data/GeoDataGeometry_p.h 4bed8b6 
>   src/lib/geodata/data/GeoDataLineString_p.h 4e87780 
>   tests/TestGeoDataGeometry.cpp dca91d1 
> 
> Diff: http://git.reviewboard.kde.org/r/102342/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Thibaut
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110817/ecf6ec0f/attachment-0001.html>


More information about the Marble-devel mailing list