Skip to content
Snippets Groups Projects
Commit 82a774b5 authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

TrajectoryBase const qualifier changes

parent a92fdfcf
No related branches found
No related tags found
1 merge request!301Resolve "Work on const / non-const in wolf base classes"
...@@ -53,7 +53,7 @@ class TrajectoryBase : public NodeBase, public std::enable_shared_from_this<Traj ...@@ -53,7 +53,7 @@ class TrajectoryBase : public NodeBase, public std::enable_shared_from_this<Traj
public: public:
// factors // factors
void getFactorList(FactorBasePtrList & _fac_list); void getFactorList(FactorBasePtrList & _fac_list) const;
protected: protected:
FrameBaseConstIter computeFrameOrder(FrameBasePtr _frame_ptr); FrameBaseConstIter computeFrameOrder(FrameBasePtr _frame_ptr);
......
...@@ -44,7 +44,7 @@ void TrajectoryBase::removeFrame(FrameBasePtr _frame_ptr) ...@@ -44,7 +44,7 @@ void TrajectoryBase::removeFrame(FrameBasePtr _frame_ptr)
updateLastFrames(); updateLastFrames();
} }
void TrajectoryBase::getFactorList(FactorBasePtrList & _fac_list) void TrajectoryBase::getFactorList(FactorBasePtrList & _fac_list) const
{ {
for(auto fr_ptr : getFrameList()) for(auto fr_ptr : getFrameList())
fr_ptr->getFactorList(_fac_list); fr_ptr->getFactorList(_fac_list);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment