diff --git a/src/processor/processor_compass.cpp b/src/processor/processor_compass.cpp
index 9b2b6ab8131f41af7e598f7dd8b7d4bf3dc10499..24fdda220181dc6ca5f1c6401c977f2333a2c6a3 100644
--- a/src/processor/processor_compass.cpp
+++ b/src/processor/processor_compass.cpp
@@ -49,7 +49,7 @@ void ProcessorCompass::processCapture(CaptureBasePtr _capture)
     // Note that more than one processor can be emplacing frames, so an older
     // frame can arrive later than this one.
     else
-        buffer_capture_.emplace(_capture->getTimeStamp(), _capture);
+        buffer_capture_.emplace(_capture);
 }
 
 void ProcessorCompass::processKeyFrame(FrameBasePtr _frame)
@@ -68,7 +68,7 @@ void ProcessorCompass::processKeyFrame(FrameBasePtr _frame)
     else if (buffer_capture_.selectLastAfter(_frame->getTimeStamp(), getTimeTolerance()) == nullptr)
     {
         // store frame
-        buffer_frame_.emplace(_frame->getTimeStamp(), _frame);
+        buffer_frame_.emplace(_frame);
     }
     // Otherwise: There are captures more recent than the frame but none that
     // match with it -> discard frame