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:
parent
92f2d9340e
commit
358858fe4c
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user