Use skstd::remove_pointer_t in GrGLFunction
authorbsalomon <bsalomon@google.com>
Tue, 9 Feb 2016 16:28:54 +0000 (08:28 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Feb 2016 16:28:54 +0000 (08:28 -0800)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684513003

Review URL: https://codereview.chromium.org/1684513003

include/gpu/gl/GrGLFunctions.h

index 4d0d654..6986f8c 100644 (file)
@@ -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