mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
COMMON: Fix code formatting, rename stuff for consistency
This commit is contained in:
parent
dc1c1d48d9
commit
7be9a57524
@ -252,11 +252,11 @@ public:
|
||||
_size = newSize;
|
||||
}
|
||||
|
||||
void assign(const T *srcBegin, const T *srcEnd) {
|
||||
resize(distance(srcBegin, srcEnd)); //fixme: ineffective?
|
||||
void assign(const_iterator first, const_iterator last) {
|
||||
resize(distance(first, last)); // FIXME: ineffective?
|
||||
T *dst = _storage;
|
||||
while(srcBegin != srcEnd)
|
||||
*dst++ = *srcBegin++;
|
||||
while (first != last)
|
||||
*dst++ = *first++;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user