aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLAssembleInterface.cpp
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2018-04-16 15:51:44 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-16 20:31:50 +0000
commitf7621cb5bb4ee181d557aeb6fa557819daba5fd2 (patch)
tree648728c5ffa81db2ebddf5e7cca624110e81aec5 /src/gpu/gl/GrGLAssembleInterface.cpp
parentcbcf4743db911f6998407576f8264eab1b596839 (diff)
Fix many return-std-move-in-c++11 warnings
Change-Id: Ib0042cf412fe3c5fa600b7ae644d16740457535e Reviewed-on: https://skia-review.googlesource.com/121354 Commit-Queue: Kevin Lubick <kjlubick@google.com> Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLAssembleInterface.cpp')
-rw-r--r--src/gpu/gl/GrGLAssembleInterface.cpp4
1 files changed, 2 insertions, 2 deletions
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<const GrGLInterface> GrGLMakeAssembledGLInterface(void *ctx, GrGLGetProc g
interface->fStandard = kGL_GrGLStandard;
interface->fExtensions.swap(&extensions);
- return interface;
+ return std::move(interface);
}
sk_sp<const GrGLInterface> GrGLMakeAssembledGLESInterface(void *ctx, GrGLGetProc get) {
@@ -844,7 +844,7 @@ sk_sp<const GrGLInterface> 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) {