Codemod: use #include angle brackets in folly and thrift
[folly.git] / folly / detail / FunctionalExcept.h
index cda119256f0dd208fae9292a7d046e65e9b25c29..4c698c84a47c1317bb381f7d36f568282cf0d269 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2014 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #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