commit | 91d019523fb56205128d5be267d1f3ada9c91b64 | [log] [tgz] |
---|---|---|
author | Adam Sawicki <Adam.Sawicki@amd.com> | Fri Jul 26 15:16:04 2019 +0200 |
committer | Adam Sawicki <Adam.Sawicki@amd.com> | Fri Jul 26 15:16:04 2019 +0200 |
tree | a6f28ebeb37239ac06aa081b84afe9d84dce8495 | |
parent | b3687caab22e74f26bbb864d9ac6e3cec8776436 [diff] |
Add comment to the new VmaVector constructor See #74
diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index a8e083e..623f860 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h
@@ -4097,6 +4097,8 @@ { } + // This version of the constructor is here for compatibility with pre-C++14 std::vector. + // value is unused. VmaVector(size_t count, const T& value, const AllocatorT& allocator) : VmaVector(count, allocator) {}