mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-29 11:11:15 +00:00
Fix warning: inline function 'MxStreamerSubClass1::MxStreamerSubClass1(undefined4)' used but never defined
This commit is contained in:
parent
e878b4b9d4
commit
d739025519
@ -203,14 +203,3 @@ MxLong MxStreamer::Notify(MxParam& p_param)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// No offset, function is always inlined
|
||||
MxStreamerSubClass1::MxStreamerSubClass1(undefined4 p_size)
|
||||
{
|
||||
m_buffer = NULL;
|
||||
m_size = p_size;
|
||||
undefined4* ptr = &m_unk0x08;
|
||||
for (int i = 0; i >= 0; i--) {
|
||||
ptr[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,7 +14,14 @@
|
||||
// STL. But I haven't figured out what yet (it's definitely not a vector).
|
||||
class MxStreamerSubClass1 {
|
||||
public:
|
||||
inline MxStreamerSubClass1(undefined4 p_size);
|
||||
inline MxStreamerSubClass1(undefined4 p_size) {
|
||||
m_buffer = NULL;
|
||||
m_size = p_size;
|
||||
undefined4* ptr = &m_unk0x08;
|
||||
for (int i = 0; i >= 0; i--) {
|
||||
ptr[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
~MxStreamerSubClass1() { delete[] m_buffer; }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user