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: ...@@ -84,12 +84,12 @@ public:
~Relation(); ~Relation();
/// Accessor to "from" direction point /// Accessor to "from" direction point
const boost::shared_ptr<const DirectionPoint> from() const { const boost::shared_ptr<const DirectionPoint>& from() const {
return from_; return from_;
} }
/// Accessor to "to" direction point /// Accessor to "to" direction point
const boost::shared_ptr<const DirectionPoint> to() const { const boost::shared_ptr<const DirectionPoint>& to() const {
return to_; 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