summaryrefslogtreecommitdiff
path: root/src/DefaultBtMessageFactory.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/DefaultBtMessageFactory.cc
parent580098eb4929a3bdbf424af18da361259ef2efe5 (diff)
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/DefaultBtMessageFactory.cc')
-rw-r--r--src/DefaultBtMessageFactory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DefaultBtMessageFactory.cc b/src/DefaultBtMessageFactory.cc
index c3687e72..7f1a733e 100644
--- a/src/DefaultBtMessageFactory.cc
+++ b/src/DefaultBtMessageFactory.cc
@@ -64,7 +64,7 @@
#include "DownloadContext.h"
#include "PieceStorage.h"
#include "PeerStorage.h"
-#include "StringFormat.h"
+#include "fmt.h"
#include "ExtensionMessageFactory.h"
#include "bittorrent_helper.h"
@@ -245,7 +245,7 @@ DefaultBtMessageFactory::createBtMessage
break;
}
default:
- throw DL_ABORT_EX(StringFormat("Invalid message ID. id=%u", id).str());
+ throw DL_ABORT_EX(fmt("Invalid message ID. id=%u", id));
}
}
setCommonProperty(msg);