mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 22:59:06 +08:00
timestamped_list: use const ref
This commit is contained in:
parent
7e1e98b258
commit
a13f23f244
@ -66,7 +66,7 @@ public:
|
||||
/**
|
||||
* Insert a value into the list, overwrite the oldest entry if full.
|
||||
*/
|
||||
void put(T new_value)
|
||||
void put(const T &new_value)
|
||||
{
|
||||
hrt_abstime now = hrt_absolute_time();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user