aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/vanillapdf/disable-autosubscribe.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/vanillapdf/disable-autosubscribe.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/vanillapdf/disable-autosubscribe.diff')
-rw-r--r--vcpkg/ports/vanillapdf/disable-autosubscribe.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/vanillapdf/disable-autosubscribe.diff b/vcpkg/ports/vanillapdf/disable-autosubscribe.diff
new file mode 100644
index 0000000..a87187d
--- /dev/null
+++ b/vcpkg/ports/vanillapdf/disable-autosubscribe.diff
@@ -0,0 +1,20 @@
+diff --git a/src/vanillapdf/utils/util.h b/src/vanillapdf/utils/util.h
+index 086dc66..57e23ef 100644
+--- a/src/vanillapdf/utils/util.h
++++ b/src/vanillapdf/utils/util.h
+@@ -49,6 +49,7 @@ private:
+ ScopeGuardFactory();
+ };
+
++#if 0
+ // The AutoSubscribe concept is something I was thinking about for a long time.
+ // Unfortunately I am still not able to create a working POC, however I want to keep the code.
+ // In case I will be thinking about such functionality in the future, this could be the starting point.
+@@ -95,6 +96,7 @@ private:
+ T _observable;
+ U* _observer;
+ };
++#endif
+
+ #if (__cplusplus < 201402L) && !defined(COMPILER_MICROSOFT_VISUAL_STUDIO)
+ // Use custom implementation if not