diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 09:36:14 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 09:36:14 +0000 |
| commit | 694fb307aa7e582a55bce7e995bde3a4614b3b4f (patch) | |
| tree | 42bf3e703ebd706c9ebdd62bca59396f2d67a790 /src/GZipDecoder.cc | |
| parent | 580098eb4929a3bdbf424af18da361259ef2efe5 (diff) | |
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/GZipDecoder.cc')
| -rw-r--r-- | src/GZipDecoder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GZipDecoder.cc b/src/GZipDecoder.cc index 1038a694..a88faa2a 100644 --- a/src/GZipDecoder.cc +++ b/src/GZipDecoder.cc @@ -33,7 +33,7 @@ */ /* copyright --> */ #include "GZipDecoder.h" -#include "StringFormat.h" +#include "fmt.h" #include "DlAbortEx.h" namespace aria2 { @@ -94,8 +94,8 @@ std::string GZipDecoder::decode(const unsigned char* in, size_t length) if(ret == Z_STREAM_END) { finished_ = true; } else if(ret != Z_OK) { - throw DL_ABORT_EX(StringFormat("libz::inflate() failed. cause:%s", - strm_->msg).str()); + throw DL_ABORT_EX(fmt("libz::inflate() failed. cause:%s", + strm_->msg)); } size_t produced = OUTBUF_LENGTH-strm_->avail_out; |
