diff options
Diffstat (limited to 'vcpkg/ports/vanillapdf/disable-autosubscribe.diff')
| -rw-r--r-- | vcpkg/ports/vanillapdf/disable-autosubscribe.diff | 20 |
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 |