Fix on stable vector.
This commit is contained in:
@@ -382,6 +382,16 @@ namespace OpenVulkano
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* std version of Remove(size_t index)
|
||||
*/
|
||||
void erase(size_t index) { Remove(index); }
|
||||
|
||||
/**
|
||||
* std version of Remove(const T& value)
|
||||
*/
|
||||
void erase(const T& value) { Remove(value); }
|
||||
|
||||
std::vector<T> ToVector() const
|
||||
{
|
||||
std::vector<T> vec;
|
||||
@@ -430,7 +440,10 @@ namespace OpenVulkano
|
||||
}
|
||||
|
||||
size_t Size() const { return m_currentSize; }
|
||||
size_t size() const { return Size(); }
|
||||
|
||||
size_t Capacity() const { return m_totalCap; }
|
||||
size_t capacity() const { return Capacity(); }
|
||||
|
||||
void Clear()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user