Commit 8d97d76c authored by Christian Dietrich's avatar Christian Dietrich
Browse files

Hash: rename getHexDigest to asString

parent 94561463
......@@ -26,7 +26,7 @@ struct Hash : protected MurMurHash3 {
}
std::string getHexDigest() const {
std::string asString() const {
std::stringstream ss;
for (unsigned i = 0; i < DIGEST_WORDS; i++) {
ss << std::hex << std::setfill('0') << std::setw(8)
......
......@@ -15,7 +15,7 @@ string HashVisitor::GetHash(unsigned *processed_bytes) {
if (processed_bytes) {
*processed_bytes = hash.length;
}
return hash.getHexDigest();
return hash.asString();
}
/// Declarations
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment