From 48682a0cea11d0005469886798205ccfffc51289 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 17 Jun 2017 14:03:30 +0200 Subject: [PATCH] Fix a pessimizing move (Clang warning). --- decklink_output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decklink_output.cpp b/decklink_output.cpp index 544e2ed..a19d0a5 100644 --- a/decklink_output.cpp +++ b/decklink_output.cpp @@ -262,7 +262,7 @@ void DeckLinkOutput::send_frame(GLuint y_tex, GLuint cbcr_tex, YCbCrLumaCoeffici last_frame_had_mode_mismatch = false; } - unique_ptr frame = move(get_frame()); + unique_ptr frame = get_frame(); if (global_flags.ten_bit_output) { chroma_subsampler->create_v210(y_tex, cbcr_tex, width, height, frame->uyvy_tex); } else { -- 2.39.2