8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00

fixed my last commit - thanks to Adriano

This commit is contained in:
alexpeshkoff 2006-10-31 13:54:31 +00:00
parent cf715a3a53
commit 8f311b198b

View File

@ -168,7 +168,7 @@ public:
fb_assert(to <= count);
memmove(data + from, data + to, sizeof(T) * (count - to));
count -= (to - from);
return &data[index];
return &data[from];
}
T* removeCount(size_t index, size_t n) {
fb_assert(index + n <= count);