Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Dietrich
clang-hash
Commits
8d97d76c
Commit
8d97d76c
authored
Mar 22, 2016
by
Christian Dietrich
Browse files
Hash: rename getHexDigest to asString
parent
94561463
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Hash.h
View file @
8d97d76c
...
...
@@ -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
)
...
...
src/hash-visitor.cc
View file @
8d97d76c
...
...
@@ -15,7 +15,7 @@ string HashVisitor::GetHash(unsigned *processed_bytes) {
if
(
processed_bytes
)
{
*
processed_bytes
=
hash
.
length
;
}
return
hash
.
getHexDigest
();
return
hash
.
asString
();
}
/// Declarations
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment