mirror of https://github.com/PrimeDecomp/prime.git
Correct EOwnerShip values
This commit is contained in:
parent
437b1dd3a6
commit
d17fbf3684
|
@ -6,8 +6,8 @@
|
||||||
class CMemoryInStream : public CInputStream {
|
class CMemoryInStream : public CInputStream {
|
||||||
public:
|
public:
|
||||||
enum EOwnerShip {
|
enum EOwnerShip {
|
||||||
kOS_NotOwned,
|
|
||||||
kOS_Owned,
|
kOS_Owned,
|
||||||
|
kOS_NotOwned,
|
||||||
};
|
};
|
||||||
|
|
||||||
CMemoryInStream(const void* ptr, unsigned long len);
|
CMemoryInStream(const void* ptr, unsigned long len);
|
||||||
|
|
|
@ -8,4 +8,4 @@ CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len)
|
||||||
: CInputStream(ptr, len, false) {}
|
: CInputStream(ptr, len, false) {}
|
||||||
|
|
||||||
CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len, EOwnerShip ownership)
|
CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len, EOwnerShip ownership)
|
||||||
: CInputStream(ptr, len, ownership == kOS_NotOwned) {}
|
: CInputStream(ptr, len, ownership == kOS_Owned) {}
|
||||||
|
|
Loading…
Reference in New Issue