mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Removing unused Vector constructor
This commit is contained in:
parent
1361203f1c
commit
1449af5864
@ -60,18 +60,6 @@ namespace Spine
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Vector(Vector& inVector) : _size(inVector._size), _capacity(inVector._capacity), _buffer(NULL)
|
|
||||||
{
|
|
||||||
if (_capacity > 0)
|
|
||||||
{
|
|
||||||
_buffer = allocate(_capacity);
|
|
||||||
for (size_t i = 0; i < _size; ++i)
|
|
||||||
{
|
|
||||||
construct(_buffer + i, inVector._buffer[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Vector& operator=(Vector& inVector)
|
Vector& operator=(Vector& inVector)
|
||||||
{
|
{
|
||||||
if (this != &inVector)
|
if (this != &inVector)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user