diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-02-04 17:46:07 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-02-04 17:46:07 +0100 |
| commit | 235fa051714f509a09ef6860f02d566af426a0f4 (patch) | |
| tree | 66a99498482b3bec7e703cfc011cd4036d190b62 /Source/Core/VideoCommon/FramebufferManagerBase.h | |
| parent | 012a4c18ff9b8beeaafcf3e24846761e5c194a42 (diff) | |
| parent | e07679114bf33e387c2d4094cac3174650def0e5 (diff) | |
Merge pull request #2013 from lioncash/emplace
Use emplace_* functions where in-place construction is preferable
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManagerBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferManagerBase.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManagerBase.h b/Source/Core/VideoCommon/FramebufferManagerBase.h index 661cfb7f31..03581468f7 100644 --- a/Source/Core/VideoCommon/FramebufferManagerBase.h +++ b/Source/Core/VideoCommon/FramebufferManagerBase.h @@ -57,14 +57,16 @@ public: protected: struct VirtualXFB { - VirtualXFB() : xfbSource(nullptr) {} + VirtualXFB() + { + } // Address and size in GameCube RAM - u32 xfbAddr; - u32 xfbWidth; - u32 xfbHeight; + u32 xfbAddr = 0; + u32 xfbWidth = 0; + u32 xfbHeight = 0; - XFBSourceBase *xfbSource; + XFBSourceBase* xfbSource = nullptr; }; typedef std::list<VirtualXFB> VirtualXFBListType; |
