diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:43:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-09 11:43:39 +0100 |
commit | b4770eb85369e91cbf800e8192dac0d8c0c627cf (patch) | |
tree | 12f49b03fc4a4f7fed77cc07da6f8def95c2b09d /src | |
parent | 0122eac105d316f54eb78f14279974ceb9593e6a (diff) |
add noinline
clang is acting up somehow
Diffstat (limited to 'src')
-rw-r--r-- | src/world.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp index 39b47db1..454f8e68 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -12,6 +12,7 @@ world::world(std::size_t capacity) : _chunks{capacity, hasher} _chunks.max_load_factor(max_load_factor); } +fm_noinline chunk& world::operator[](chunk_coords coord) noexcept { maybe_collect(); |