Commit 4d6d659d authored by Peter Griess's avatar Peter Griess

Remove FOLLY_NORETURN from definition.

Summary:
- Remove FOLLY_NORETURN from function definitions, which was causing
compilation errors on some platforms.

Test Plan: - Compile on Mac OS X with Clang

Reviewed By: tudorb@fb.com

FB internal diff: D1111416
parent 19e5f7ed
......@@ -20,15 +20,15 @@
FOLLY_NAMESPACE_STD_BEGIN
void __throw_length_error(const char* msg) FOLLY_NORETURN {
void __throw_length_error(const char* msg) {
throw std::length_error(msg);
}
void __throw_logic_error(const char* msg) FOLLY_NORETURN {
void __throw_logic_error(const char* msg) {
throw std::logic_error(msg);
}
void __throw_out_of_range(const char* msg) FOLLY_NORETURN {
void __throw_out_of_range(const char* msg) {
throw std::out_of_range(msg);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment