Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@ -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];
|
||||
|
||||
Reference in New Issue
Block a user