mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user