From f7621cb5bb4ee181d557aeb6fa557819daba5fd2 Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Mon, 16 Apr 2018 15:51:44 -0400 Subject: Fix many return-std-move-in-c++11 warnings Change-Id: Ib0042cf412fe3c5fa600b7ae644d16740457535e Reviewed-on: https://skia-review.googlesource.com/121354 Commit-Queue: Kevin Lubick Commit-Queue: Mike Klein Auto-Submit: Kevin Lubick Reviewed-by: Mike Klein --- src/gpu/gl/GrGLAssembleInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/gl/GrGLAssembleInterface.cpp') diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp index 6282488389..5c5e05a166 100644 --- a/src/gpu/gl/GrGLAssembleInterface.cpp +++ b/src/gpu/gl/GrGLAssembleInterface.cpp @@ -411,7 +411,7 @@ sk_sp GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc g interface->fStandard = kGL_GrGLStandard; interface->fExtensions.swap(&extensions); - return interface; + return std::move(interface); } sk_sp GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get) { @@ -844,7 +844,7 @@ sk_sp GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc interface->fStandard = kGLES_GrGLStandard; interface->fExtensions.swap(&extensions); - return interface; + return std::move(interface); } SK_API const GrGLInterface* GrGLAssembleInterface(void *ctx, GrGLGetProc get) { -- cgit v1.2.3