Applied [ 625315 ] More const functions in geometry.h
Functions in geometry.h should be const if they don't change member variables. John Labenski git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,7 +164,7 @@ void wxPoint2DInt::ReadFrom( wxDataInputStream &stream )
|
||||
m_y = stream.Read32();
|
||||
}
|
||||
|
||||
wxDouble wxPoint2DInt::GetVectorAngle()
|
||||
wxDouble wxPoint2DInt::GetVectorAngle() const
|
||||
{
|
||||
if ( m_x == 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user