Call Deflator::IsolatedInitialize during Gzip init (GH #660)
parent
9b4476ef7b
commit
7eb0535a98
2
gzip.cpp
2
gzip.cpp
|
|
@ -14,6 +14,8 @@ static inline bool Is8859Character(char c) {
|
||||||
|
|
||||||
void Gzip::IsolatedInitialize(const NameValuePairs ¶meters)
|
void Gzip::IsolatedInitialize(const NameValuePairs ¶meters)
|
||||||
{
|
{
|
||||||
|
Deflator::IsolatedInitialize(parameters);
|
||||||
|
|
||||||
ConstByteArrayParameter v;
|
ConstByteArrayParameter v;
|
||||||
if (parameters.GetValue(Name::FileName(), v))
|
if (parameters.GetValue(Name::FileName(), v))
|
||||||
m_filename.assign(reinterpret_cast<const char*>(v.begin()), v.size());
|
m_filename.assign(reinterpret_cast<const char*>(v.begin()), v.size());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue