Replace deprecated throw() with noexcept
Remove deprecated throw specifier