diff options
Diffstat (limited to 'pjlib/include/pj++/pool.hpp')
-rw-r--r-- | pjlib/include/pj++/pool.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pjlib/include/pj++/pool.hpp b/pjlib/include/pj++/pool.hpp index 02b54336..d2604142 100644 --- a/pjlib/include/pj++/pool.hpp +++ b/pjlib/include/pj++/pool.hpp @@ -123,6 +123,14 @@ public: } // + // You can cast Pj_Pool to pj_pool_t* + // + operator pj_pool_t*() + { + return p_; + } + + // // Get pjlib compatible pool object. // pj_pool_t *pool_() |