aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.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/GrGLGpu.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/GrGLGpu.cpp')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 1cf60d8ffd..574dd9ae41 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -1480,7 +1480,7 @@ sk_sp<GrTexture> GrGLGpu::onCreateTexture(const GrSurfaceDesc& desc,
fHWBoundRenderTargetUniqueID.makeInvalid();
}
}
- return tex;
+ return std::move(tex);
}
namespace {