diff options
Diffstat (limited to 'src/misc/blob.hpp')
-rw-r--r-- | src/misc/blob.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp index 6c271cdcf..467261281 100644 --- a/src/misc/blob.hpp +++ b/src/misc/blob.hpp @@ -75,7 +75,8 @@ public: FORCEINLINE ByteBlob() { InitEmpty(); } /** copy constructor */ - FORCEINLINE ByteBlob(const ByteBlob &src) { + FORCEINLINE ByteBlob(const ByteBlob &src) + { InitEmpty(); AppendRaw(src); } @@ -165,7 +166,7 @@ protected: FORCEINLINE uint& LengthRef() { return Hdr().items; - }; + } public: /** return true if blob doesn't contain valid data */ @@ -178,13 +179,13 @@ public: FORCEINLINE uint Length() const { return Hdr().items; - }; + } /** return the current blob capacity in bytes */ FORCEINLINE uint Capacity() const { return Hdr().capacity; - }; + } /** return pointer to the first byte of data - non-const version */ FORCEINLINE byte *Begin() @@ -387,7 +388,7 @@ public: FORCEINLINE OnTransfer Transfer() { return OnTransfer(*this); - }; + } }; |