diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-01-27 14:48:38 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:38:23 +0200 |
commit | 18c27df9d7efe087c9196b46a47867af9a111b3e (patch) | |
tree | f40d981823295afb3df4c2c4b898c2554e4130da /src | |
parent | 6778e3b87cc9a6f5d195a2c80e5b499e3d94558b (diff) |
Rethrow exception instead of copy
Diffstat (limited to 'src')
-rw-r--r-- | src/Gif.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Gif.cpp b/src/Gif.cpp index 983030c..e98718f 100644 --- a/src/Gif.cpp +++ b/src/Gif.cpp @@ -74,7 +74,7 @@ namespace dchat catch(GifLoadException &e) { delete[] fileContent.data; - throw e; + throw; } } @@ -91,7 +91,7 @@ namespace dchat catch(GifLoadException &e) { delete[] fileContent.data; - throw e; + throw; } } |