mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Fix some -Weffc++ warnings (part 2)
This commit is contained in:
parent
c1f1b1174d
commit
963d150e93
28 changed files with 169 additions and 130 deletions
|
@ -47,13 +47,13 @@ namespace utils
|
|||
class shm
|
||||
{
|
||||
#ifdef _WIN32
|
||||
void* m_handle;
|
||||
void* m_handle{};
|
||||
#else
|
||||
int m_file;
|
||||
int m_file{};
|
||||
#endif
|
||||
u32 m_size;
|
||||
u32 m_flags;
|
||||
atomic_t<void*> m_ptr;
|
||||
u32 m_size{};
|
||||
u32 m_flags{};
|
||||
atomic_t<void*> m_ptr{nullptr};
|
||||
|
||||
public:
|
||||
explicit shm(u32 size, u32 flags = 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue