folly: replace old-style header guards with "pragma once"
[folly.git] / folly / Random.h
index 53283a286a3d01f07d0a3e783562e7e64bcfdc04..0cfc5efe8a991a2b19507e8f7dfa6c7039c63d57 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_RANDOM_H_
+#pragma once
 #define FOLLY_RANDOM_H_
 
 #include <type_traits>
@@ -245,5 +245,3 @@ inline uint32_t randomNumberSeed() {
 }
 
 #include <folly/Random-inl.h>
-
-#endif