File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,10 +294,10 @@ std::optional<GeometricCalibrator::Calibration> GeometricCalibrator::calibration
294294
295295 imageObject.set (imageBuffer);
296296 imageObject.update (); // We have to force the update, as Image is double-buffered
297- const auto serializedImage = imageObject.serialize ();
297+ auto serializedImage = imageObject.serialize ();
298298
299299 // Send the buffer, and make sure it has been received and displayed
300- sendBuffer (_worldImageName, serializedImage);
300+ sendBuffer (_worldImageName, std::move ( serializedImage) );
301301 for (int64_t updatedTimestamp = 0 ; updatedTimestamp != imageObject.getTimestamp ();
302302 updatedTimestamp = getObjectAttribute (targetWindowName, " timestamp" )[0 ].as <int64_t >())
303303 std::this_thread::sleep_for (15ms);
You can’t perform that action at this time.
0 commit comments