mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 06:15:31 +00:00
Fix some compiler errors...
This commit is contained in:
parent
45e926536a
commit
deac1e7fad
|
@ -61,6 +61,7 @@ class BlockStatManager {
|
|||
class BlockStatList {
|
||||
public:
|
||||
BlockStatList();
|
||||
BlockStatList(const BlockStatList &other);
|
||||
~BlockStatList();
|
||||
|
||||
void AddStat(const BlockStat &stat);
|
||||
|
@ -69,7 +70,6 @@ class BlockStatManager {
|
|||
|
||||
private:
|
||||
BlockStatList(const BlockStat &stat);
|
||||
BlockStatList(const BlockStatList &other);
|
||||
|
||||
BlockStat m_Stat;
|
||||
BlockStatList *m_Tail;
|
||||
|
|
|
@ -86,7 +86,7 @@ void BlockStatManager::Copy(const BlockStatManager &other) {
|
|||
// copying this class and make sure to actually create a new instance.
|
||||
assert(!"We shouldn't be copying these in this manner!");
|
||||
|
||||
m_BlockStatList = new BlockStatList(other.m_BlockStatList);
|
||||
m_BlockStatList = new BlockStatList(*other.m_BlockStatList);
|
||||
m_BlockStatListSz = other.m_BlockStatListSz;
|
||||
m_NextBlock = other.m_NextBlock;
|
||||
|
||||
|
|
Loading…
Reference in a new issue