Core/Misc: Mark some functions noexcept to reduce size of compiled code

This commit is contained in:
Shauren
2026-01-09 12:14:36 +01:00
parent 00542ca800
commit 6b4ff53187
4 changed files with 35 additions and 35 deletions

View File

@@ -45,7 +45,7 @@
BOOST_PP_SEQ_FOR_EACH(DEFINE_FIELD_ACCESSOR_CACHE_FIELD, ~, fields_list) \
struct_name(result_type const& result) : Fields(result.Fetch()), indexes(indexes_impl(result)) { }\
Field* Fields; \
static Indexes const& indexes_impl(result_type const& result) { static Indexes const instance(result); return instance; }\
static Indexes const& indexes_impl(result_type const& result) noexcept { static Indexes const instance(result); return instance; }\
Indexes const& indexes;\
}