summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-07-01 16:57:40 +0200
committerLéo Lam <leo@leolam.fr>2022-07-01 17:01:40 +0200
commit0912686d9b4a41fed203215be63f348161dc5e6e (patch)
tree71a5221920f3e9b3c51ae1a156bc425e1b2a4410 /src/KingSystem/Physics/System/physSystem.h
parentbd8b3dc61d1cb60fd66554b826d91f4b0d75dda5 (diff)
IteratorUtil: Forward (non-reference) return types correctly
With auto&, an operator[] that returns a value (and not a reference) would result in the proxy returning a reference to a local temporary, which is UB
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
0 files changed, 0 insertions, 0 deletions