suppress some warnings
This commit is contained in:
@@ -39,7 +39,7 @@ namespace OpenVulkano
|
||||
|
||||
size_t m_size; // Size of the chunk
|
||||
size_t m_capacity; // Capacity of the chunk
|
||||
size_t m_nextIndex; // Next index to insert
|
||||
std::ptrdiff_t m_nextIndex; // Next index to insert
|
||||
size_t m_gapCount; // Count of emptied gaps in the chunk
|
||||
bool* m_occupiedIndices; // filled gaps array
|
||||
T m_data[0]; // data array
|
||||
@@ -178,11 +178,11 @@ namespace OpenVulkano
|
||||
}
|
||||
}
|
||||
|
||||
std::streamsize GetIteratorIndex() const { return m_chunk->GetRealIndex(m_index); }
|
||||
std::ptrdiff_t GetIteratorIndex() const { return m_chunk->GetRealIndex(m_index); }
|
||||
|
||||
private:
|
||||
VectorChunk* m_chunk;
|
||||
std::streamsize m_index;
|
||||
std::ptrdiff_t m_index;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user