glibmm2_4/gcc8.patch

14 lines
383 B
Diff

Index: glibmm-2.52.1/glib/glibmm/threads.h
===================================================================
--- glibmm-2.52.1.orig/glib/glibmm/threads.h
+++ glibmm-2.52.1/glib/glibmm/threads.h
@@ -657,7 +657,7 @@ public:
*/
inline void replace(T* data);
- GPrivate* gobj() { return gobject_; }
+ GPrivate* gobj() { return &gobject_; }
private:
GPrivate gobject_;