[Positioning] Result: read accessors const
This commit is contained in:
parent
7bd6f8b261
commit
3a9498a0b5
|
@ -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 ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue