timestamped_list: use const ref

This commit is contained in:
Julian Oes 2017-07-06 15:17:56 +02:00 committed by Lorenz Meier
parent 7e1e98b258
commit a13f23f244

View File

@ -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();