We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4256d48 commit 927b16eCopy full SHA for 927b16e
src/md5.cpp
@@ -347,7 +347,7 @@ std::string MD5::hexdigest() const
347
348
//////////////////////////////
349
350
-std::ostream& operator<<(std::ostream& out, MD5 md5)
+std::ostream& operator<<(std::ostream& out, MD5 &md5)
351
{
352
return out << md5.hexdigest();
353
}
src/smallsha1.cpp
@@ -39,8 +39,8 @@ namespace sha1
39
namespace // local
40
41
// Rotate an integer value to left.
42
- inline const unsigned int rol(const unsigned int value,
43
- const unsigned int steps)
+ inline const unsigned int rol(unsigned int value,
+ unsigned int steps)
44
45
return ((value << steps) | (value >> (32 - steps)));
46
0 commit comments