blob: 56bf30b4562e42be54439e069e0080b62ce4842d (
plain)
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
|
From ee2228ea2f18ac5da9b434ee6089381df815aa94 Mon Sep 17 00:00:00 2001
From: Yichao Yu <yyc1992@gmail.com>
Date: Wed, 5 Jun 2019 09:03:40 -0400
Subject: [utils/gtkprops] Remove unnecessary constexpr, this is not allowed in
C++14
BUG: 408286
---
lib/utils/gtkprops.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/utils/gtkprops.h b/lib/utils/gtkprops.h
index abc0675..e248255 100644
--- 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; \
--
cgit v1.1
|