Pass delta by ref for performance

This commit is contained in:
Isaac Connor 2021-04-20 11:36:20 -04:00
parent c668eb7134
commit 9970df7fde
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

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