folly: replace old-style header guards with "pragma once"
[folly.git] / folly / detail / FunctionalExcept.h
index 575da6f3472d9713ddb46074f0d61b595920afcd..643c8eb293e8e75dfd09c1837c26c56efbc976ec 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_DETAIL_FUNCTIONAL_EXCEPT_H
-#define FOLLY_DETAIL_FUNCTIONAL_EXCEPT_H
+#pragma once
 
 #include <folly/Portability.h>
 
@@ -36,5 +35,3 @@ FOLLY_NAMESPACE_STD_END
 #else
 #error This file should never be included if FOLLY_HAVE_BITS_FUNCTEXCEPT_H is set
 #endif
-
-#endif