summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-25 14:36:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-25 14:36:29 +0100
commit947a8d3ab773b539dfc18da20d8e5934b5ea9d62 (patch)
treef1a2ce5e913c8553a3fd6087a70f84f82c00669b /main
parent7d659dbe06cd8efc1d6eb4ef2c5fbc8ae27a4568 (diff)
use operator""uz c++23 polyfill
Diffstat (limited to 'main')
-rw-r--r--main/draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/draw.cpp b/main/draw.cpp
index 5c36e8d1..cf8ab20a 100644
--- a/main/draw.cpp
+++ b/main/draw.cpp
@@ -82,7 +82,7 @@ auto main_impl::get_draw_bounds() const noexcept -> draw_bounds
void main_impl::update_collect_threshold()
{
const auto [minx, maxx, miny, maxy] = get_draw_bounds();
- const auto value = std::max(64_uz, (size_t)(maxx-minx+4)*(size_t)(maxy-minx+4));
+ const auto value = std::max(64uz, (size_t)(maxx-minx+4)*(size_t)(maxy-minx+4));
if (!(GL::Context::current().configurationFlags() & GL::Implementation::ContextConfigurationFlag::QuietLog))
fm_debug("collect threshold is now %zu", value);
_world.set_collect_threshold(value);