Remove FOLLY_NORETURN from definition.
authorPeter Griess <pgriess@fb.com>
Thu, 26 Dec 2013 21:32:41 +0000 (13:32 -0800)
committerPeter Griess <pgriess@fb.com>
Fri, 27 Dec 2013 16:27:27 +0000 (08:27 -0800)
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

folly/detail/FunctionalExcept.cpp

index a6986f7d9ada51ebd14bbe5abdedcaafacc69cda..f569f94508ea4773e942aa477a6ed7ff165229a7 100644 (file)
 
 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);
 }