aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/behavior_info.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-04 02:54:55 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-16 02:33:34 -0300
commitc1ad40a3cbe80e557ecd989e1ce8f591e3dac4b7 (patch)
treeacfdc14d7e948ae296859d3d112f356f3279680c /src/audio_core/behavior_info.cpp
parentf2f2262c5e3ea25747e56cf716dfcfdc4969ab52 (diff)
buffer_cache: Return handles instead of pointer to handles
The original idea of returning pointers is that handles can be moved. The problem is that the implementation didn't take that in mind and made everything harder to work with. This commit drops pointer to handles and returns the handles themselves. While it is still true that handles can be invalidated, this way we get an old handle instead of a dangling pointer. This problem can be solved in the future with sparse buffers.
Diffstat (limited to 'src/audio_core/behavior_info.cpp')
0 files changed, 0 insertions, 0 deletions