Pass delta by ref for performance
This commit is contained in:
parent
c668eb7134
commit
9970df7fde
|
@ -5,7 +5,7 @@ Frame::Frame(
|
|||
int p_frame_id,
|
||||
FrameType p_type,
|
||||
struct timeval p_timestamp,
|
||||
struct DeltaTimeval p_delta,
|
||||
struct DeltaTimeval &p_delta,
|
||||
int p_score
|
||||
) :
|
||||
event_id(p_event_id),
|
||||
|
|
|
@ -41,7 +41,7 @@ public:
|
|||
int p_frame_id,
|
||||
FrameType p_type,
|
||||
struct timeval p_timestamp,
|
||||
struct DeltaTimeval p_delta,
|
||||
struct DeltaTimeval &p_delta,
|
||||
int p_score
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue