Skip to content

Commit 198bad2

Browse files
committed
Fixed compiling issue in the GeometricCalibrator
1 parent 24ac212 commit 198bad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controller/geometriccalibrator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)