summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-21 08:35:26 -0400
committerLioncash <mathew1800@gmail.com>2019-05-21 08:44:29 -0400
commit1d22e50899308e2540fb5d1dcc5490d6a31ca035 (patch)
tree3be07e056273f91edb429317a0f0b4c445b4bc2d /Source/Core/VideoCommon/TextureCacheBase.cpp
parente2c769a9c5afa9171f45d36ee39a0c176f24ee13 (diff)
Core/Boot/Boot: Amend use-after-move cases in GenerateFromFile()
In terms of order of operations, the move would occur first before the construction of the relevant reader would occur. However, given the local variable 'path' was declared const, this bug actually wouldn't occur, as std::move on a const variable does nothing (in a non-mutable context), resulting in a copy instead, masking this issue. Given this is a bug waiting to happen, we correct the code.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions