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