diff options
Diffstat (limited to 'CPP/7zip/Common/OutBuffer.h')
-rw-r--r-- | CPP/7zip/Common/OutBuffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CPP/7zip/Common/OutBuffer.h b/CPP/7zip/Common/OutBuffer.h index d7ca9f6..cef7d50 100644 --- a/CPP/7zip/Common/OutBuffer.h +++ b/CPP/7zip/Common/OutBuffer.h | |||
@@ -1,13 +1,13 @@ | |||
1 | // OutBuffer.h | 1 | // OutBuffer.h |
2 | 2 | ||
3 | #ifndef __OUT_BUFFER_H | 3 | #ifndef ZIP7_INC_OUT_BUFFER_H |
4 | #define __OUT_BUFFER_H | 4 | #define ZIP7_INC_OUT_BUFFER_H |
5 | 5 | ||
6 | #include "../IStream.h" | 6 | #include "../IStream.h" |
7 | #include "../../Common/MyCom.h" | 7 | #include "../../Common/MyCom.h" |
8 | #include "../../Common/MyException.h" | 8 | #include "../../Common/MyException.h" |
9 | 9 | ||
10 | #ifndef _NO_EXCEPTIONS | 10 | #ifndef Z7_NO_EXCEPTIONS |
11 | struct COutBufferException: public CSystemException | 11 | struct COutBufferException: public CSystemException |
12 | { | 12 | { |
13 | COutBufferException(HRESULT errorCode): CSystemException(errorCode) {} | 13 | COutBufferException(HRESULT errorCode): CSystemException(errorCode) {} |
@@ -29,11 +29,11 @@ protected: | |||
29 | 29 | ||
30 | HRESULT FlushPart() throw(); | 30 | HRESULT FlushPart() throw(); |
31 | public: | 31 | public: |
32 | #ifdef _NO_EXCEPTIONS | 32 | #ifdef Z7_NO_EXCEPTIONS |
33 | HRESULT ErrorCode; | 33 | HRESULT ErrorCode; |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | COutBuffer(): _buf(0), _pos(0), _stream(0), _buf2(0) {} | 36 | COutBuffer(): _buf(NULL), _pos(0), _stream(NULL), _buf2(NULL) {} |
37 | ~COutBuffer() { Free(); } | 37 | ~COutBuffer() { Free(); } |
38 | 38 | ||
39 | bool Create(UInt32 bufSize) throw(); | 39 | bool Create(UInt32 bufSize) throw(); |