forked from lix-project/lix
oops: fix warning about catching polymorphic exception
This was introduced inI0fc80718eb7e02d84cc4b5d5deec4c0f41116134
and unnoticed since it only appears in gcc builds. Change-Id:I1de80ce2a8fab63efdca7ca0de2a302ceb118267
This commit is contained in:
parent
529eed74c4
commit
d280e4990c
|
@ -479,7 +479,7 @@ struct curlFileTransfer : public FileTransfer
|
|||
{
|
||||
try {
|
||||
stopWorkerThread();
|
||||
} catch (nix::Error e) {
|
||||
} catch (nix::Error & e) {
|
||||
// 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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue