diff options
-rw-r--r-- | src/unstable/blob.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unstable/blob.cpp b/src/unstable/blob.cpp index 9abfede..3395fae 100644 --- a/src/unstable/blob.cpp +++ b/src/unstable/blob.cpp | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | Bu::Blob::Blob() : | 15 | Bu::Blob::Blob() : |
16 | pData( 0 ), | 16 | pData( 0 ), |
17 | iSize( -1 ) | 17 | iSize( 0 ) |
18 | { | 18 | { |
19 | } | 19 | } |
20 | 20 | ||
@@ -56,7 +56,7 @@ Bu::Blob::Blob( const void *pSrc, int32_t iSize ) : | |||
56 | 56 | ||
57 | Bu::Blob::Blob( const Bu::Blob::const_iterator &iStart ) : | 57 | Bu::Blob::Blob( const Bu::Blob::const_iterator &iStart ) : |
58 | pData( 0 ), | 58 | pData( 0 ), |
59 | iSize( -1 ) | 59 | iSize( 0 ) |
60 | { | 60 | { |
61 | if( !iStart ) | 61 | if( !iStart ) |
62 | return; | 62 | return; |
@@ -69,7 +69,7 @@ Bu::Blob::Blob( const Bu::Blob::const_iterator &iStart ) : | |||
69 | Bu::Blob::Blob( const Bu::Blob::const_iterator &iStart, | 69 | Bu::Blob::Blob( const Bu::Blob::const_iterator &iStart, |
70 | const Bu::Blob::const_iterator &iEnd ) : | 70 | const Bu::Blob::const_iterator &iEnd ) : |
71 | pData( 0 ), | 71 | pData( 0 ), |
72 | iSize( -1 ) | 72 | iSize( 0 ) |
73 | { | 73 | { |
74 | if( !iStart ) | 74 | if( !iStart ) |
75 | return; | 75 | return; |
@@ -91,7 +91,7 @@ Bu::Blob::~Blob() | |||
91 | { | 91 | { |
92 | delete[] pData; | 92 | delete[] pData; |
93 | pData = 0; | 93 | pData = 0; |
94 | iSize = -1; | 94 | iSize = 0; |
95 | } | 95 | } |
96 | 96 | ||
97 | int32_t Bu::Blob::getSize() const | 97 | int32_t Bu::Blob::getSize() const |