Correct EOwnerShip values

This commit is contained in:
Phillip Stephens 2022-07-19 23:20:28 -07:00
parent 437b1dd3a6
commit d17fbf3684
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
class CMemoryInStream : public CInputStream {
public:
enum EOwnerShip {
kOS_NotOwned,
kOS_Owned,
kOS_NotOwned,
};
CMemoryInStream(const void* ptr, unsigned long len);

View File

@ -8,4 +8,4 @@ CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len)
: CInputStream(ptr, len, false) {}
CMemoryInStream::CMemoryInStream(const void* ptr, unsigned long len, EOwnerShip ownership)
: CInputStream(ptr, len, ownership == kOS_NotOwned) {}
: CInputStream(ptr, len, ownership == kOS_Owned) {}