gcc-4.8 is not decaying types correctly in lambda init captures. Help it out. Fixes...
[folly.git] / folly / detail / ChecksumDetail.h
index 9d9f73dfd73577d80856fbc786c39b2a2ebe2108..540b3201f993c5bd2a7513e5639feef94a31212e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_DETAIL_CHECKSUMDETAIL_H_
-#define FOLLY_DETAIL_CHECKSUMDETAIL_H_
+#pragma once
 
 namespace folly { namespace detail {
 
@@ -54,5 +53,3 @@ uint32_t crc32c_sw(const uint8_t* data, size_t nbytes,
 
 
 }} // folly::detail
-
-#endif /* FOLLY_DETAIL_CHECKSUMDETAIL_H_ */