folly: replace old-style header guards with "pragma once"
[folly.git] / folly / detail / UncaughtExceptionCounter.h
index b0119c0646e79da54d8882559ff6acd01b0299c6..0fb76c7a3d035751ada22a0bbf2b35a5f3ede5b7 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_DETAIL_UNCAUGHTEXCEPTIONCOUNTER_H_
-#define FOLLY_DETAIL_UNCAUGHTEXCEPTIONCOUNTER_H_
+#pragma once
 
 #include <exception>
 
@@ -93,5 +92,3 @@ inline int UncaughtExceptionCounter::getUncaughtExceptionCount() noexcept {
 }
 
 }} // namespaces
-
-#endif /* FOLLY_DETAIL_UNCAUGHTEXCEPTIONCOUNTER_H_ */