From 358858fe4ce633f7f220025a401128ea77e4a4ca Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 1 Apr 2021 14:01:58 -0400 Subject: [PATCH] Fix bots that don't like std::is_integral_v Change-Id: I37202f26bd1d990f80528f490ccd7e99cbc2139f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/392056 Commit-Queue: Brian Osman Commit-Queue: John Stiles Auto-Submit: Brian Osman Reviewed-by: John Stiles --- gm/runtimeintrinsics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm/runtimeintrinsics.cpp b/gm/runtimeintrinsics.cpp index 378c58961d..a6729c9540 100644 --- a/gm/runtimeintrinsics.cpp +++ b/gm/runtimeintrinsics.cpp @@ -464,7 +464,7 @@ static void plot_bvec(SkCanvas* canvas, const char* fn, const char* label) { draw_label(canvas, label); - const char* type = std::is_integral_v ? "int" : "float"; + const char* type = std::is_integral::value ? "int" : "float"; auto [effect, error] = SkRuntimeEffect::Make(make_bvec_sksl(type, fn)); if (!effect) { SkDebugf("Error: %s\n", error.c_str());