Skip to content

Commit 91d0195

Browse files
Add comment to the new VmaVector constructor
See #74
1 parent b3687ca commit 91d0195

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/vk_mem_alloc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,6 +4097,8 @@ class VmaVector
40974097
{
40984098
}
40994099

4100+
// This version of the constructor is here for compatibility with pre-C++14 std::vector.
4101+
// value is unused.
41004102
VmaVector(size_t count, const T& value, const AllocatorT& allocator)
41014103
: VmaVector(count, allocator) {}
41024104

0 commit comments

Comments
 (0)