projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix ThreadCachedInt race condition
[folly.git]
/
folly
/
Checksum.h
diff --git
a/folly/Checksum.h
b/folly/Checksum.h
index 1168badf3d2eeb7f14aa9ef2172961381639c861..1202893389fc6dc1547faebd3ec9b4bca5d6e22c 100644
(file)
--- a/
folly/Checksum.h
+++ b/
folly/Checksum.h
@@
-14,8
+14,7
@@
* limitations under the License.
*/
-#ifndef FOLLY_CHECKSUM_H_
-#define FOLLY_CHECKSUM_H_
+#pragma once
#include <stdint.h>
#include <cstddef>
@@
-39,5
+38,3
@@
uint32_t crc32c(const uint8_t* data, size_t nbytes,
uint32_t startingChecksum = ~0U);
} // folly
-
-#endif /* FOLLY_CHECKSUM_H_ */