File: fix-build-with-gcc-9.patch

package info (click to toggle)
qtcurve 1.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,468 kB
  • sloc: cpp: 70,269; perl: 123; sh: 122; xml: 46; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: remove unnecessary constexpr, this is not allowed in C++14
Origin: upstream, https://cgit.kde.org/qtcurve.git/commit/?id=ee2228ea2f18ac5d
Last-Update: 2019-07-08

--- a/lib/utils/gtkprops.h
+++ b/lib/utils/gtkprops.h
@@ -74,7 +74,7 @@ class GtkWidgetProps {
         };
 #define DEF_WIDGET_SIG_CONN_PROPS(name)                                 \
         struct _SigConn_##name##_ObjGetter {                            \
-            constexpr inline GObject*                                   \
+            inline GObject*                                             \
             operator()(SigConn<_SigConn_##name##_ObjGetter> *p) const   \
             {                                                           \
                 return (GObject*)qtcContainerOf(p, Props, name)->m_w;   \