diff options
author | bsalomon <bsalomon@google.com> | 2016-02-09 08:28:54 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 08:28:54 -0800 |
commit | eb00475d2335d4e2679d0ee12dd4741edcba7061 (patch) | |
tree | 9ba318b6085a34d1ff9c9ab400309090a9ae7686 /include/gpu/gl | |
parent | 33ed3ad9f62b3c84d439b92ab45732d4fa6d05ad (diff) |
Use skstd::remove_pointer_t in GrGLFunction
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
Diffstat (limited to 'include/gpu/gl')
-rw-r--r-- | include/gpu/gl/GrGLFunctions.h | 3 |
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 |