* limitations under the License.
*/
-#ifndef FOLLY_SAFEASSERT_H_
-#define FOLLY_SAFEASSERT_H_
+#pragma once
#include <folly/Portability.h>
#include <folly/Preprocessor.h>
namespace folly { namespace detail {
-FOLLY_NORETURN void assertionFailure(const char* expr, const char* msg,
- const char* file, unsigned int line,
- const char* function);
-
+[[noreturn]] void assertionFailure(
+ const char* expr,
+ const char* msg,
+ const char* file,
+ unsigned int line,
+ const char* function);
}} // namespace folly
-
-#endif /* FOLLY_SAFEASSERT_H_ */