mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 17:40:34 +08:00
timestamped_list: use const ref
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user