X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/a846a8cdfbbb59f5f545db03dd7c5fee43c2056a..15024d7e7c224d837592094932a2da18d17ee015:/Pooling.hpp diff --git a/Pooling.hpp b/Pooling.hpp index c907662..a182906 100644 --- a/Pooling.hpp +++ b/Pooling.hpp @@ -88,6 +88,12 @@ class CYPool { struct CYData { apr_pool_t *pool_; + unsigned count_; + + CYData() : + count_(1) + { + } virtual ~CYData() { } @@ -107,7 +113,6 @@ struct CYData { static void operator delete(void *data) { apr_pool_destroy(reinterpret_cast(data)->pool_); } - }; template