summaryrefslogtreecommitdiff
path: root/src/BtAllowedFastMessage.cc
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/BtAllowedFastMessage.cc
parent580098eb4929a3bdbf424af18da361259ef2efe5 (diff)
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/BtAllowedFastMessage.cc')
-rw-r--r--src/BtAllowedFastMessage.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BtAllowedFastMessage.cc b/src/BtAllowedFastMessage.cc
index 2b240d2e..1090d8f4 100644
--- a/src/BtAllowedFastMessage.cc
+++ b/src/BtAllowedFastMessage.cc
@@ -35,7 +35,7 @@
#include "BtAllowedFastMessage.h"
#include "DlAbortEx.h"
#include "Peer.h"
-#include "StringFormat.h"
+#include "fmt.h"
namespace aria2 {
@@ -53,8 +53,8 @@ SharedHandle<BtAllowedFastMessage> BtAllowedFastMessage::create
void BtAllowedFastMessage::doReceivedAction() {
if(!getPeer()->isFastExtensionEnabled()) {
throw DL_ABORT_EX
- (StringFormat("%s received while fast extension is disabled",
- toString().c_str()).str());
+ (fmt("%s received while fast extension is disabled",
+ toString().c_str()));
}
if(isMetadataGetMode()) {
return;