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

@@ -17,8 +17,6 @@
*/
//==============================================================================
#include <beast/utility/static_initializer.h>
namespace beast
{
@@ -47,8 +45,8 @@ public:
Manager&
instance()
{
static beast::static_initializer<Manager> m;
return *m;
static Manager m;
return m;
}
// Okay to call on an active timer.