Adjust a few things to avoid triggering warnings under MSVC
[folly.git] / folly / detail / ChecksumDetail.h
index 9d9f73dfd73577d80856fbc786c39b2a2ebe2108..c018c1c815a9c272555dc1226d3131b86955eb3f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2017 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_ */