diff options
Diffstat (limited to 'media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch')
-rw-r--r-- | media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch b/media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch deleted file mode 100644 index 322a0d6b8463..000000000000 --- a/media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/server/data.cc -+++ b/server/data.cc -@@ -68,7 +68,7 @@ - } - } - --Statement::~Statement() -+Statement::~Statement() NOEXCEPT - { - if (sqlite3_finalize(statement) != 0) - { ---- a/server/data.h -+++ b/server/data.h -@@ -26,6 +26,12 @@ - #include <linux/dvb/frontend.h> - #include <glibmm.h> - -+#if __cplusplus >= 201103L -+#define NOEXCEPT noexcept(false) -+#else -+#define NOEXCEPT -+#endif -+ - typedef std::list<Glib::ustring> StringList; - - namespace Data -@@ -68,7 +74,7 @@ - - public: - Statement(Connection& connection, const Glib::ustring& command); -- ~Statement(); -+ ~Statement() NOEXCEPT; - - void reset(); - guint step(); |