mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
[test/misc] Search/replace of:
std::exception& e to: const std::exception& e
This commit is contained in:
parent
1dc9b291d7
commit
fe8da7b4fc
@ -30,7 +30,7 @@ int main(int /*argc*/, char* /*argv*/[])
|
||||
std::string rend = sk.render();
|
||||
std::cout << rend;
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
std::cerr << "Exception: " << e.what() << std::endl;
|
||||
return 1;
|
||||
|
@ -32,7 +32,7 @@ int main()
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
std::cerr << "Exception: " << e.what() << std::endl;
|
||||
return 1;
|
||||
|
@ -80,7 +80,7 @@ int main()
|
||||
add(inf, inf);
|
||||
}
|
||||
}
|
||||
catch (std::exception& e)
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
std::cerr << "Exception: " << e.what() << std::endl;
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user