aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-01-27 14:48:38 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:38:23 +0200
commit18c27df9d7efe087c9196b46a47867af9a111b3e (patch)
treef40d981823295afb3df4c2c4b898c2554e4130da
parent6778e3b87cc9a6f5d195a2c80e5b499e3d94558b (diff)
Rethrow exception instead of copy
m---------depends/odhtdb0
-rw-r--r--src/Gif.cpp4
2 files changed, 2 insertions, 2 deletions
diff --git a/depends/odhtdb b/depends/odhtdb
-Subproject 70c67121522018db2733eb8e9e8fd8ddca867ec
+Subproject e673a8de53278814a860e9eba03ef776be0a416
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;
}
}