summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.cpp
diff options
context:
space:
mode:
authorSilent <zdanio95@gmail.com>2019-08-31 20:16:16 +0200
committerSilent <zdanio95@gmail.com>2019-08-31 21:18:07 +0200
commitb3969e91d901ae6c30c9fc12c7e457658817903c (patch)
treecf5e232e17bac973683d7c0eb982dacb892be347 /Source/Core/VideoCommon/PostProcessing.cpp
parentb088fc37d5de88b122c3e440319b421de9bee209 (diff)
FixedSizeQueue: Bugfixes and improvements
- Fixed a bug where pushing items over queue's size left it in a corrupted state - For non-trivial types, have clear() and pop() run destructors - Added emplace(args...) - Added empty() FixedSizeQueue has semantics of a circular buffer, so pushing items continuously is expected to keep overwriting oldest elements gracefully. Tests have been updated to verify correctness of a previously bugged behaviour and to verify correctness of destructing non-trivial types
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
0 files changed, 0 insertions, 0 deletions