Correct EOwnerShip values

Former-commit-id: d17fbf3684
This commit is contained in:
Phillip Stephens 2022-07-19 23:20:28 -07:00
parent 6473aae6a9
commit d26b7a4753
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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) {}