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 --- src/Gif.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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