aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-09 08:28:54 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-09 08:28:54 -0800
commiteb00475d2335d4e2679d0ee12dd4741edcba7061 (patch)
tree9ba318b6085a34d1ff9c9ab400309090a9ae7686 /include/gpu/gl
parent33ed3ad9f62b3c84d439b92ab45732d4fa6d05ad (diff)
Use skstd::remove_pointer_t in GrGLFunction
Diffstat (limited to 'include/gpu/gl')
-rw-r--r--include/gpu/gl/GrGLFunctions.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/gpu/gl/GrGLFunctions.h b/include/gpu/gl/GrGLFunctions.h
index 4d0d6540cd..6986f8cc03 100644
--- a/include/gpu/gl/GrGLFunctions.h
+++ b/include/gpu/gl/GrGLFunctions.h
@@ -354,7 +354,6 @@ typedef GrEGLImage (GR_GL_FUNCTION_TYPE* GrEGLCreateImageProc)(GrEGLDisplay dpy,
typedef GrEGLBoolean (GR_GL_FUNCTION_TYPE* GrEGLDestroyImageProc)(GrEGLDisplay dpy, GrEGLImage image);
} // extern "C"
-template <typename GLPTR> using GrGLFunction =
- std::function<typename std::remove_pointer<GLPTR>::type>;
+template <typename GLPTR> using GrGLFunction = std::function<skstd::remove_pointer_t<GLPTR>>;
#endif