mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Use emplace_* functions where in-place construction is preferable
This commit is contained in:
parent
012a4c18ff
commit
e07679114b
12 changed files with 18 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue