summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManagerBase.h
diff options
context:
space:
mode:
authorMarkus Wick <markus+github@selfnet.de>2015-02-04 17:46:07 +0100
committerMarkus Wick <markus+github@selfnet.de>2015-02-04 17:46:07 +0100
commit235fa051714f509a09ef6860f02d566af426a0f4 (patch)
tree66a99498482b3bec7e703cfc011cd4036d190b62 /Source/Core/VideoCommon/FramebufferManagerBase.h
parent012a4c18ff9b8beeaafcf3e24846761e5c194a42 (diff)
parente07679114bf33e387c2d4094cac3174650def0e5 (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.h12
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;