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; \
|