vcpkg/ports/glibmm/fix-thread.h.patch

14 lines
345 B
Diff
Raw Normal View History

diff --git a/glib/glibmm/threads.h b/glib/glibmm/threads.h
index 5350a99..cc48c01 100644
--- a/glib/glibmm/threads.h
+++ b/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_;