Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Common/InBuffer.cpp')
-rw-r--r--CPP/7zip/Common/InBuffer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/CPP/7zip/Common/InBuffer.cpp b/CPP/7zip/Common/InBuffer.cpp
index 8edefa31..133d95b3 100644
--- a/CPP/7zip/Common/InBuffer.cpp
+++ b/CPP/7zip/Common/InBuffer.cpp
@@ -6,7 +6,7 @@
#include "InBuffer.h"
-CInBufferBase::CInBufferBase():
+CInBufferBase::CInBufferBase() throw():
_buf(0),
_bufLim(0),
_bufBase(0),
@@ -17,7 +17,7 @@ CInBufferBase::CInBufferBase():
NumExtraBytes(0)
{}
-bool CInBuffer::Create(size_t bufSize)
+bool CInBuffer::Create(size_t bufSize) throw()
{
const unsigned kMinBlockSize = 1;
if (bufSize < kMinBlockSize)
@@ -30,13 +30,13 @@ bool CInBuffer::Create(size_t bufSize)
return (_bufBase != 0);
}
-void CInBuffer::Free()
+void CInBuffer::Free() throw()
{
::MidFree(_bufBase);
_bufBase = 0;
}
-void CInBufferBase::Init()
+void CInBufferBase::Init() throw()
{
_processedSize = 0;
_buf = _bufBase;