diff --git a/common/device-model.cpp b/common/device-model.cpp index bc9094b992..d82b4d6ac3 100644 --- a/common/device-model.cpp +++ b/common/device-model.cpp @@ -1000,7 +1000,7 @@ namespace rs2 else return; // Aborted by the user } - auto manager = std::make_shared(viewer.not_model, *this, dev, viewer.ctx, data, true); + auto manager = std::make_shared(viewer.not_model, *this, dev, viewer.ctx, std::move( data ), true); auto n = std::make_shared( "Manual Update requested", manager, true);