Skip to content
Snippets Groups Projects
Commit 5dfbc661 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Relation returns references...

parent 3b4f6fdb
No related merge requests found
......@@ -84,12 +84,12 @@ public:
~Relation();
/// Accessor to "from" direction point
const boost::shared_ptr<const DirectionPoint> from() const {
const boost::shared_ptr<const DirectionPoint>& from() const {
return from_;
}
/// Accessor to "to" direction point
const boost::shared_ptr<const DirectionPoint> to() const {
const boost::shared_ptr<const DirectionPoint>& to() const {
return to_;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment