From 18c27df9d7efe087c9196b46a47867af9a111b3e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Jan 2019 14:48:38 +0100 Subject: Rethrow exception instead of copy --- depends/odhtdb | 2 +- src/Gif.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/depends/odhtdb b/depends/odhtdb index 70c6712..e673a8d 160000 --- a/depends/odhtdb +++ b/depends/odhtdb @@ -1 +1 @@ -Subproject commit 70c67121522018db2733eb8e9e8fd8ddca867ecc +Subproject commit e673a8de53278814a860e9eba03ef776be0a4169 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; } } -- cgit v1.2.3