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 22c475c commit 0b19848Copy full SHA for 0b19848
bitset/include/cpp-utilities/bitset.h
@@ -26,6 +26,7 @@
26
#define UTILITY_BITSET_HPP_
27
28
#include <bitset>
29
+#include <cstdint>
30
31
namespace bitset {
32
hash/include/cpp-utilities/sha1.h
@@ -149,7 +149,11 @@ class sha1 {
149
swap(state_, other.state_);
150
}
151
152
- void clear();
+ void clear() {
153
+ digest_ = digest();
154
+ state_ = state();
155
+ }
156
+
157
digest finalize() const {
158
// make copies so this isn't a mutating operation
159
state s = state_;
0 commit comments