folly: ubsan: disable integer overflow tests in Histogram
[folly.git] / folly / DiscriminatedPtr.h
index 2f76a658b22f0feb6782a6fa0e3c565688f9b475..24494eff0124553f92ff414ec50167ae3e72bd21 100644 (file)
@@ -24,8 +24,7 @@
  * @author Tudor Bosman (tudorb@fb.com)
  */
 
-#ifndef FOLLY_DISCRIMINATEDPTR_H_
-#define FOLLY_DISCRIMINATEDPTR_H_
+#pragma once
 
 #include <limits>
 #include <stdexcept>
@@ -217,5 +216,3 @@ class DiscriminatedPtr {
 };
 
 }  // namespace folly
-
-#endif /* FOLLY_DISCRIMINATEDPTR_H_ */