diff --git a/src/capture/capture_motion.cpp b/src/capture/capture_motion.cpp
index 78ecbe638f8efece33c4ae7bb9ad02581b552c53..9158849ff0cf195c4883fb68a1453970ed4aa7ff 100644
--- a/src/capture/capture_motion.cpp
+++ b/src/capture/capture_motion.cpp
@@ -65,7 +65,8 @@ bool CaptureMotion::containsTimeStamp(const TimeStamp& _ts, double _time_toleran
 {
     assert(_ts.ok() and this->time_stamp_.ok());
     assert(this->time_stamp_ == this->getBuffer().back().ts_ and
-           "CaptureMotion::containsTimeStamp: The time stamp of the capture is not equal to the last motion in the buffer");
+           "CaptureMotion::containsTimeStamp: The time stamp of the capture is not equal to the last motion in the "
+           "buffer");
 
     // the same capture is within tolerance
     if (this->time_stamp_ - _time_tolerance <= _ts && _ts <= this->time_stamp_ + _time_tolerance) return true;