Replace std::size usage with std_size to avoid <iterator> include.

This commit is contained in:
Lukas Tenbrink 2025-10-03 20:02:38 +02:00
parent 6d33ad2917
commit 1db0a60dc0
40 changed files with 69 additions and 66 deletions

View file

@ -1968,7 +1968,7 @@ CodeTextEditor::CodeTextEditor() {
zoom_button->set_accessibility_name(TTRC("Zoom Factor"));
PopupMenu *zoom_menu = zoom_button->get_popup();
constexpr int preset_count = std::size(ZOOM_FACTOR_PRESETS);
constexpr int preset_count = std_size(ZOOM_FACTOR_PRESETS);
for (int i = 0; i < preset_count; i++) {
float z = ZOOM_FACTOR_PRESETS[i];