Unverified Commit 2776ca9a authored by Thomas PEYRUCAIN's avatar Thomas PEYRUCAIN Committed by GitHub
Browse files

Fix warning

tsid/src/tasks/task-motion.cpp: In member function ‘virtual const TrajectorySample& tsid::tasks::TaskMotion::getReference() const’:
tsid/src/tasks/task-motion.cpp:43:89: warning: returning reference to temporary [-Wreturn-local-addr]
     const TrajectorySample & TaskMotion::getReference() const { return TrajectorySample(); }
parent 13bd41ba
......@@ -55,6 +55,7 @@ namespace tsid
math::Vector m_mask;
math::Vector m_dummy;
trajectories::TrajectorySample TrajectorySample_dummy;
Markdown is supported
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