diff options
Diffstat (limited to 'src/core/alloc_type.hpp')
-rw-r--r-- | src/core/alloc_type.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/alloc_type.hpp b/src/core/alloc_type.hpp index 887ba7237..b95fc79ee 100644 --- a/src/core/alloc_type.hpp +++ b/src/core/alloc_type.hpp @@ -123,6 +123,15 @@ public: } return this->buffer; } + + /** + * Get the currently allocated buffer. + * @return the buffer + */ + FORCEINLINE const T *GetBuffer() const + { + return this->buffer; + } }; /** |