summaryrefslogtreecommitdiff
path: root/include/gras/detail/sbuffer.hpp
diff options
context:
space:
mode:
authorJosh Blum2012-12-23 00:23:50 -0800
committerJosh Blum2012-12-23 00:23:50 -0800
commit0a0ec3568a0c0e907df157df891a4e683dc6d264 (patch)
treed31a0c4bb46d6ca4e328f7e5051a225189fb58b6 /include/gras/detail/sbuffer.hpp
parentf32f981624c01005fe23af855b143a36ca052690 (diff)
downloadsandhi-0a0ec3568a0c0e907df157df891a4e683dc6d264.tar.gz
sandhi-0a0ec3568a0c0e907df157df891a4e683dc6d264.tar.bz2
sandhi-0a0ec3568a0c0e907df157df891a4e683dc6d264.zip
added user driven last ptr for sbuffer stitching
Diffstat (limited to 'include/gras/detail/sbuffer.hpp')
-rw-r--r--include/gras/detail/sbuffer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gras/detail/sbuffer.hpp b/include/gras/detail/sbuffer.hpp
index c3dab6b..0d68ebc 100644
--- a/include/gras/detail/sbuffer.hpp
+++ b/include/gras/detail/sbuffer.hpp
@@ -39,7 +39,8 @@ GRAS_FORCE_INLINE void intrusive_ptr_release(SBufferImpl *impl)
GRAS_FORCE_INLINE SBuffer::SBuffer(void):
offset(0),
- length(0)
+ length(0),
+ last(NULL)
{
//NOP
}