aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-11 20:42:40 -0400
committerLioncash <mathew1800@gmail.com>2019-04-11 20:42:44 -0400
commit0d2300473a4a9607fb01936ac21a2a2b21f56264 (patch)
treed1fcbe18e413a1ffe09ea1cf74420c1074a71df5 /src/video_core/buffer_cache/buffer_cache.h
parentd9fa38ef42ba9efa2c160787dfa1e999e970fe93 (diff)
common/swap: Mark byte swapping free functions with [[nodiscard]] and noexcept
Allows the compiler to inform when the result of a swap function is being ignored (which is 100% a bug in all usage scenarios). We also mark them noexcept to allow other functions using them to be able to be marked as noexcept and play nicely with things that potentially inspect "nothrowability".
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions