summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/misc/blob.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp
index 264366b40..ed8c52ac6 100644
--- a/src/misc/blob.hpp
+++ b/src/misc/blob.hpp
@@ -350,6 +350,7 @@ public:
{
return (base::Capacity() / type_size);
}
+
/** Return number of additional items that can fit in the Blob without buffer reallocation */
FORCEINLINE uint GetReserve() const
{
@@ -362,16 +363,6 @@ public:
return (T*)base::Append(num_items * type_size);
}
- /** Add given items (ptr + number of items) at the end of blob */
- FORCEINLINE T *Append(const T *pSrc, uint num_items)
- {
- T *pDst = GrowSizeNC(num_items);
- T *pDstOrg = pDst;
- T *pDstEnd = pDst + num_items;
- while (pDst < pDstEnd) new (pDst++) T(*(pSrc++));
- return pDstOrg;
- }
-
/** Ensures that given number of items can be added to the end of Blob. Returns pointer to the
* first free (unused) item */
FORCEINLINE T *MakeFreeSpace(uint num_items)