mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix shadowing variables
This commit is contained in:
@@ -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 (...)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user