Use more C++11 features:

* Remove beast::static_initializer
* Remove noexcept VS2013 workaround
* Use [[noreturn]] attribute
This commit is contained in:
Nik Bougalis
2015-10-06 12:38:26 -07:00
parent d4c4a03e42
commit 7373a26333
33 changed files with 33 additions and 646 deletions

View File

@@ -35,8 +35,12 @@ namespace beast
If multiple threads raise an error, only one will succeed while the others
will be blocked before the process terminates.
*/
[[noreturn]]
void
FatalError (char const* message, char const* file = nullptr, int line = 0);
FatalError (
char const* message,
char const* file = nullptr,
int line = 0) noexcept;
} // beast