0
0
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:
James Yonan 2012-02-17 19:28:44 +00:00 committed by Frank Lichtenheld
parent 1dc9b291d7
commit fe8da7b4fc
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -32,7 +32,7 @@ int main()
}
}
}
catch (std::exception& e)
catch (const std::exception& e)
{
std::cerr << "Exception: " << e.what() << std::endl;
return 1;

View File

@ -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;