summaryrefslogtreecommitdiff
path: root/src/HashFuncEntry.h
diff options
context:
space:
mode:
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;
}