update stats APIs to use TimePoint vs Duration correctly
[folly.git] / folly / Exception.h
index 30444b2bdaa193f17a0eb6764b20294cb95b45f4..85bbeda47164dba61174a6cecf005b49a99d8bcb 100644 (file)
@@ -14,8 +14,7 @@
  * limitations under the License.
  */
 
-#ifndef FOLLY_EXCEPTION_H_
-#define FOLLY_EXCEPTION_H_
+#pragma once
 
 #include <errno.h>
 
@@ -119,5 +118,3 @@ void throwOnFail(V&& value, Args&&... args) {
   ::folly::throwOnFail<E>((cond), "Check failed: " #cond)
 
 }  // namespace folly
-
-#endif /* FOLLY_EXCEPTION_H_ */