Fix a bad bug in folly::ThreadLocal (incorrect using of pthread)
[folly.git] / folly / SafeAssert.h
index 5fbca62fd94a493daf625a0972731bcda1d2e896..7e00ee94d0b44c4f37a4f7ac67e249245689092d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2015 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@
 #ifndef FOLLY_SAFEASSERT_H_
 #define FOLLY_SAFEASSERT_H_
 
-#include "folly/Portability.h"
-#include "folly/Preprocessor.h"
+#include <folly/Portability.h>
+#include <folly/Preprocessor.h>
 
 /**
  * Verify that the expression is true. If not, prints an error message
 
 namespace folly { namespace detail {
 
-void assertionFailure(const char* expr, const char* msg, const char* file,
-                      unsigned int line, const char* function)
-  FOLLY_NORETURN;
+FOLLY_NORETURN void assertionFailure(const char* expr, const char* msg,
+                      const char* file, unsigned int line,
+                      const char* function);
 
 }}  // namespace folly
 
 #endif /* FOLLY_SAFEASSERT_H_ */
-