Fix shadowing variables

This commit is contained in:
seelabs
2019-08-13 14:26:02 -07:00
parent 014df67fed
commit b9e73b4852
55 changed files with 460 additions and 444 deletions

View File

@@ -32,17 +32,17 @@ public:
{
Throw<std::runtime_error>("Throw test");
}
catch (std::runtime_error const& e)
catch (std::runtime_error const& e1)
{
BEAST_EXPECT(std::string(e.what()) == "Throw test");
BEAST_EXPECT(std::string(e1.what()) == "Throw test");
try
{
Rethrow();
}
catch (std::runtime_error const& e)
catch (std::runtime_error const& e2)
{
BEAST_EXPECT(std::string(e.what()) == "Throw test");
BEAST_EXPECT(std::string(e2.what()) == "Throw test");
}
catch (...)
{