diff options
author | B Stack <bgstack15@gmail.com> | 2021-02-02 11:44:31 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-02-02 11:44:31 -0500 |
commit | d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8 (patch) | |
tree | 4d7c950512836f473a6a8cbb521c61e800db6584 /wx+/image_tools.h | |
parent | Merge branch '11.5' into 'master' (diff) | |
download | FreeFileSync-d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8.tar.gz FreeFileSync-d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8.tar.bz2 FreeFileSync-d299ddd2f27a437f0fc0cb49abdfd6dd8e3d94f8.zip |
add upstream 11.6
Diffstat (limited to 'wx+/image_tools.h')
-rw-r--r-- | wx+/image_tools.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned char>(result); }; |