summaryrefslogtreecommitdiff
path: root/src/Piece.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-10-22 15:09:00 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-10-22 15:09:00 +0000
commitc6035b2e24410e7a576f83e92257f4bb26d593c9 (patch)
treeb6221953e8a95566aaeba33c527d70f810f51bed /src/Piece.cc
parent3349fe081156776aba058b90beebb68d4ee73e75 (diff)
2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved static functions in Util class to namespace util. * src * test
Diffstat (limited to 'src/Piece.cc')
-rw-r--r--src/Piece.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Piece.cc b/src/Piece.cc
index 5e59d79c..72d25d7d 100644
--- a/src/Piece.cc
+++ b/src/Piece.cc
@@ -195,8 +195,8 @@ bool Piece::getAllMissingBlockIndexes
}
std::string Piece::toString() const {
- return strconcat("piece: index=", Util::itos(index),
- ", length=", Util::itos(length));
+ return strconcat("piece: index=", util::itos(index),
+ ", length=", util::itos(length));
}
void Piece::reconfigure(size_t length)
@@ -256,7 +256,7 @@ std::string Piece::getHashString()
if(_mdctx.isNull()) {
return A2STR::NIL;
} else {
- return Util::toHex(_mdctx->digestFinal());
+ return util::toHex(_mdctx->digestFinal());
}
}