Codemod: use #include angle brackets in folly and thrift
[folly.git] / folly / detail / FunctionalExcept.h
index a1aa586cf79ec44c2003b769374cadbcf78a1680..4c698c84a47c1317bb381f7d36f568282cf0d269 100644 (file)
 #ifndef FOLLY_DETAIL_FUNCTIONAL_EXCEPT_H
 #define FOLLY_DETAIL_FUNCTIONAL_EXCEPT_H
 
-#include "folly/Portability.h"
+#include <folly/Portability.h>
 
 FOLLY_NAMESPACE_STD_BEGIN
 
-void __throw_length_error(const char* msg) FOLLY_NORETURN;
-void __throw_logic_error(const char* msg) FOLLY_NORETURN;
-void __throw_out_of_range(const char* msg) FOLLY_NORETURN;
+FOLLY_NORETURN void __throw_length_error(const char* msg);
+FOLLY_NORETURN void __throw_logic_error(const char* msg);
+FOLLY_NORETURN void __throw_out_of_range(const char* msg);
+
+#ifdef _MSC_VER
+FOLLY_NORETURN void __throw_bad_alloc();
+#endif
 
 FOLLY_NAMESPACE_STD_END