summaryrefslogtreecommitdiff
path: root/src/OptionHandlerException.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/OptionHandlerException.cc
parent580098eb4929a3bdbf424af18da361259ef2efe5 (diff)
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/OptionHandlerException.cc')
-rw-r--r--src/OptionHandlerException.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/OptionHandlerException.cc b/src/OptionHandlerException.cc
index a8e83b35..0e4489ac 100644
--- a/src/OptionHandlerException.cc
+++ b/src/OptionHandlerException.cc
@@ -33,7 +33,7 @@
*/
/* copyright --> */
#include "OptionHandlerException.h"
-#include "StringFormat.h"
+#include "fmt.h"
namespace aria2 {
@@ -43,14 +43,14 @@ const std::string OptionHandlerException::MESSAGE
OptionHandlerException::OptionHandlerException(const char* file, int line,
const std::string& optName):
RecoverableException
- (file, line, StringFormat(MESSAGE.c_str(), optName.c_str()).str()),
+ (file, line, fmt(MESSAGE.c_str(), optName.c_str())),
optName_(optName) {}
OptionHandlerException::OptionHandlerException(const char* file, int line,
const std::string& optName,
const Exception& cause):
RecoverableException
- (file, line, StringFormat(MESSAGE.c_str(), optName.c_str()).str(), cause),
+ (file, line, fmt(MESSAGE.c_str(), optName.c_str()), cause),
optName_(optName) {}
OptionHandlerException::OptionHandlerException(const char* file, int line,