diff options
Diffstat (limited to '')
-rw-r--r-- | src/unstable/blobbuilder.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/unstable/blobbuilder.cpp b/src/unstable/blobbuilder.cpp index fd62cb0..29646ba 100644 --- a/src/unstable/blobbuilder.cpp +++ b/src/unstable/blobbuilder.cpp | |||
@@ -88,6 +88,14 @@ Bu::BlobBuilderCore::BlobBuilderCore() : | |||
88 | { | 88 | { |
89 | } | 89 | } |
90 | 90 | ||
91 | Bu::BlobBuilderCore::BlobBuilderCore( const Bu::Blob &rSrc ) : | ||
92 | pFirst( 0 ), | ||
93 | pLast( 0 ), | ||
94 | iLength( 0 ) | ||
95 | { | ||
96 | append( rSrc.getData(), rSrc.getSize() ); | ||
97 | } | ||
98 | |||
91 | Bu::BlobBuilderCore::BlobBuilderCore( const Bu::BlobBuilderCore &rSrc ) : | 99 | Bu::BlobBuilderCore::BlobBuilderCore( const Bu::BlobBuilderCore &rSrc ) : |
92 | pFirst( 0 ), | 100 | pFirst( 0 ), |
93 | pLast( 0 ), | 101 | pLast( 0 ), |
@@ -239,6 +247,11 @@ Bu::BlobBuilder::BlobBuilder() | |||
239 | { | 247 | { |
240 | } | 248 | } |
241 | 249 | ||
250 | Bu::BlobBuilder::BlobBuilder( const Bu::Blob &rSrc ) | ||
251 | { | ||
252 | append( rSrc ); | ||
253 | } | ||
254 | |||
242 | Bu::BlobBuilder::BlobBuilder( const Bu::BlobBuilder &rSrc ) : | 255 | Bu::BlobBuilder::BlobBuilder( const Bu::BlobBuilder &rSrc ) : |
243 | Bu::SharedCore<Bu::BlobBuilder, Bu::BlobBuilderCore>( rSrc ) | 256 | Bu::SharedCore<Bu::BlobBuilder, Bu::BlobBuilderCore>( rSrc ) |
244 | { | 257 | { |