diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2020-01-06 10:44:07 -0800 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2020-01-06 10:44:07 -0800 |
| commit | 615cb6aa240390f925d446f456dc726e21654e77 (patch) | |
| tree | 2de198c944a2691634fd720e92e013d76fc2b38c /ports/glibmm/fix-thread.h.patch | |
| parent | 0ee4f000bd3405ab79be4f005f778ba3c314b2e5 (diff) | |
| download | vcpkg-615cb6aa240390f925d446f456dc726e21654e77.tar.gz vcpkg-615cb6aa240390f925d446f456dc726e21654e77.zip | |
[glibmm] Fix build error on Linux (#9562)
Diffstat (limited to 'ports/glibmm/fix-thread.h.patch')
| -rw-r--r-- | ports/glibmm/fix-thread.h.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/glibmm/fix-thread.h.patch b/ports/glibmm/fix-thread.h.patch new file mode 100644 index 000000000..8e7c01b6b --- /dev/null +++ b/ports/glibmm/fix-thread.h.patch @@ -0,0 +1,13 @@ +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_;
|
