Skip to content
Snippets Groups Projects

Resolve "ProcessorLoopClosureBase class"

Merged Joan Vallvé Navarro requested to merge 220-processor-loop-closure-base into devel
2 files
+ 5
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -68,7 +68,7 @@ public:
/**\brief Add a pack to the buffer
*
*/
void add(const T& _element, const TimeStamp& _time_stamp); //const Scalar& _time_tolerance);
void add(const TimeStamp& _time_stamp, const T& _element); //const Scalar& _time_tolerance);
/** \brief returns the container with elements of the buffer
*
@@ -400,7 +400,7 @@ T Buffer<T>::selectFirstBefore(const TimeStamp& _time_stamp, const Scalar& _time
}
template <typename T>
void Buffer<T>::add(const T& _element, const TimeStamp& _time_stamp)
void Buffer<T>::add(const TimeStamp& _time_stamp, const T& _element)
{
container_.emplace(_time_stamp, _element);
}
Loading