projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update documentation for Synchronized
[folly.git]
/
folly
/
Exception.h
diff --git
a/folly/Exception.h
b/folly/Exception.h
index 30444b2bdaa193f17a0eb6764b20294cb95b45f4..85bbeda47164dba61174a6cecf005b49a99d8bcb 100644
(file)
--- a/
folly/Exception.h
+++ b/
folly/Exception.h
@@
-14,8
+14,7
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#ifndef FOLLY_EXCEPTION_H_
-#define FOLLY_EXCEPTION_H_
+#pragma once
#include <errno.h>
#include <errno.h>
@@
-119,5
+118,3
@@
void throwOnFail(V&& value, Args&&... args) {
::folly::throwOnFail<E>((cond), "Check failed: " #cond)
} // namespace folly
::folly::throwOnFail<E>((cond), "Check failed: " #cond)
} // namespace folly
-
-#endif /* FOLLY_EXCEPTION_H_ */