File: compile-with-g%2B%2B-11.patch

package info (click to toggle)
libgdf 0.1.3-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,352 kB
  • sloc: cpp: 7,096; makefile: 65; sh: 49
file content (27 lines) | stat: -rw-r--r-- 1,124 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Compile against g++ 11
Author: Rafael Laboissière <rafael@debian.org>
Bug-Debian: https://bugs.debian.org/984105
Forwarded: https://github.com/mbillingr/libgdf/pull/7
Last-Update: 2021-07-07

--- libgdf-0.1.3.orig/libgdf/include/GDF/EventConverter.h
+++ libgdf-0.1.3/libgdf/include/GDF/EventConverter.h
@@ -32,7 +32,6 @@ namespace gdf
     /// @throws general if events could not be converted
     std::vector<Mode3Event> convertMode1EventsIntoMode3Events (std::vector<Mode1Event>
-                                                               const& mode_1_events)
-        throw (exception::general);
+                                                               const& mode_1_events);
 }
 
 #endif
--- libgdf-0.1.3.orig/libgdf/src/EventConverter.cpp
+++ libgdf-0.1.3/libgdf/src/EventConverter.cpp
@@ -34,7 +34,6 @@ namespace gdf
 
     //-------------------------------------------------------------------------
     vector<Mode3Event> convertMode1EventsIntoMode3Events (vector<Mode1Event> const& mode_1_events)
-            throw (exception::general)
     {
         vector<Mode3Event> mode_3_events;