From: Steinar H. Gunderson Date: Sat, 17 Jun 2017 12:03:30 +0000 (+0200) Subject: Fix a pessimizing move (Clang warning). X-Git-Tag: 1.6.1~36 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=48682a0cea11d0005469886798205ccfffc51289;p=nageru Fix a pessimizing move (Clang warning). --- 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 {