aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/vanillapdf/disable-autosubscribe.diff
blob: a87187db10d65758ccf44ef11ce76c1cc0900d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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