vcpkg/ports/glibmm/fix-thread.h.patch
2020-01-06 10:44:07 -08:00

14 lines
345 B
Diff

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