[Positioning] Result: read accessors const

This commit is contained in:
Matteo Cypriani 2010-03-08 17:27:31 +01:00
parent 7bd6f8b261
commit 3a9498a0b5
1 changed files with 4 additions and 4 deletions

View File

@ -21,8 +21,8 @@ public:
/** @name Read accessors */
//@{
const Point3D& get_position(void) ;
const Request* get_request(void) ;
const Point3D& get_position(void) const ;
const Request* get_request(void) const ;
//@}
/** @name Operators */
@ -41,13 +41,13 @@ public:
/* *** Read accessors *** */
inline const Point3D& Result::get_position()
inline const Point3D& Result::get_position() const
{
return position ;
}
inline const Request* Result::get_request()
inline const Request* Result::get_request() const
{
return request ;
}