From d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 2 Feb 2021 11:44:31 -0500 Subject: add upstream 11.6 --- wx+/image_tools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/image_tools.h') diff --git a/wx+/image_tools.h b/wx+/image_tools.h index 1b4fbb43..0f0fb9c2 100644 --- a/wx+/image_tools.h +++ b/wx+/image_tools.h @@ -177,7 +177,7 @@ wxColor hsvColor(double h, double s, double v) //h within [0, 360), s, v within auto polish = [](double val) -> unsigned char { - int result = numeric::round(val * 255); + int result = std::round(val * 255); numeric::confine(result, 0, 255); return static_cast(result); }; -- cgit