summaryrefslogtreecommitdiff
path: root/src/HashFuncEntry.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-20 09:36:14 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-20 09:36:14 +0000
commit694fb307aa7e582a55bce7e995bde3a4614b3b4f (patch)
tree42bf3e703ebd706c9ebdd62bca59396f2d67a790 /src/HashFuncEntry.h
parent580098eb4929a3bdbf424af18da361259ef2efe5 (diff)
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/HashFuncEntry.h')
-rw-r--r--src/HashFuncEntry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HashFuncEntry.h b/src/HashFuncEntry.h
index 824fa4af..68b0ffa1 100644
--- a/src/HashFuncEntry.h
+++ b/src/HashFuncEntry.h
@@ -41,7 +41,7 @@
#include <algorithm>
#include "DlAbortEx.h"
-#include "StringFormat.h"
+#include "fmt.h"
namespace aria2 {
@@ -79,7 +79,7 @@ const typename HashFuncEntry::HashFuncType& getHashFunc
(hashType));
if(e == last) {
throw DL_ABORT_EX
- (StringFormat("Hash type %s is not supported.", hashType.c_str()).str());
+ (fmt("Hash type %s is not supported.", hashType.c_str()));
}
return e->hashFunc;
}