Added `const' to catched exception.
committer: mfx <mfx> 983114224 +0000
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ static Packer* try_pack(Packer *p, InputFile *f)
|
||||
f->seek(0,SEEK_SET);
|
||||
return p;
|
||||
}
|
||||
} catch (IOException&) {
|
||||
} catch (const IOException&) {
|
||||
} catch (...) {
|
||||
delete p;
|
||||
throw;
|
||||
|
||||
Reference in New Issue
Block a user