oops: fix warning about catching polymorphic exception
This was introduced in I0fc80718eb7e02d84cc4b5d5deec4c0f41116134 and unnoticed since it only appears in gcc builds. Change-Id: I1de80ce2a8fab63efdca7ca0de2a302ceb118267
This commit is contained in:
parent
529eed74c4
commit
d280e4990c
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ struct curlFileTransfer : public FileTransfer
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
stopWorkerThread();
|
stopWorkerThread();
|
||||||
} catch (nix::Error e) {
|
} catch (nix::Error & e) {
|
||||||
// This can only fail if a socket to our own process cannot be
|
// This can only fail if a socket to our own process cannot be
|
||||||
// written to, so it is always a bug in the program if it fails.
|
// written to, so it is always a bug in the program if it fails.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue