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

@@ -30,7 +30,7 @@
#include "error_list.h"
#include <iterator>
#include "core/typedefs.h"
const char *error_names[] = {
"OK", // OK
@@ -84,4 +84,4 @@ const char *error_names[] = {
"Printer on fire", // ERR_PRINTER_ON_FIRE
};
static_assert(std::size(error_names) == ERR_MAX);
static_assert(std_size(error_names) == ERR_MAX);