mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Fix some static analysis warnings, including c-style cast
This commit is contained in:
parent
70faef3fdb
commit
d986e8bcfa
9 changed files with 16 additions and 14 deletions
|
@ -84,9 +84,8 @@ public:
|
|||
transactional_storage& operator=(const transactional_storage&) = delete;
|
||||
|
||||
transactional_storage(transactional_storage&& other)
|
||||
: pool(std::move(other.pool))
|
||||
{
|
||||
pool = std::move(other.pool);
|
||||
|
||||
std::unique_lock lock_other{other.current_mutex};
|
||||
const std::shared_ptr<T> other_current = other.current;
|
||||
other.current = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue