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 <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
This commit is contained in:
Brian Osman 2021-04-01 14:01:58 -04:00 committed by Skia Commit-Bot
parent 92f2d9340e
commit 358858fe4c

View File

@ -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<T> ? "int" : "float";
const char* type = std::is_integral<T>::value ? "int" : "float";
auto [effect, error] = SkRuntimeEffect::Make(make_bvec_sksl(type, fn));
if (!effect) {
SkDebugf("Error: %s\n", error.c_str());