diff options
author | Gurchetan Singh <gurchetansingh@google.com> | 2021-10-11 17:43:34 -0700 |
---|---|---|
committer | Gurchetan Singh <gurchetansingh@google.com> | 2021-10-12 00:47:02 +0000 |
commit | 2947cf310f44a68b6a266abb9b6a5fd44253a1bd (patch) | |
tree | b9cf1a8823f649c840555478a558a5b2ce4b193c /stream-servers/tests | |
parent | bfbeb8d52ef58f6a143e004de144bdca49c5e3e2 (diff) | |
download | vulkan-cereal-2947cf310f44a68b6a266abb9b6a5fd44253a1bd.tar.gz |
vulkan-cereal: Improve build with g++
- Add missing template type
- Add missing variable assignment character
- Fix gMock build
BUG=b:202522444
TEST=compile
Change-Id: Id76e7fed4af5e53766f22e8eb0d1b2aa91824ebc
Diffstat (limited to 'stream-servers/tests')
-rw-r--r-- | stream-servers/tests/DisplayVk_unittest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream-servers/tests/DisplayVk_unittest.cpp b/stream-servers/tests/DisplayVk_unittest.cpp index 1f01bc9c..41b95979 100644 --- a/stream-servers/tests/DisplayVk_unittest.cpp +++ b/stream-servers/tests/DisplayVk_unittest.cpp @@ -178,7 +178,7 @@ class DisplayVkTest : public ::testing::Test { void createLogicalDevice() { const float queuePriority = 1.0f; std::vector<VkDeviceQueueCreateInfo> queueCis(0); - for (auto queueFamilyIndex : std::unordered_set( + for (auto queueFamilyIndex : std::unordered_set<uint32_t>( {m_swapChainQueueFamilyIndex, m_compositorQueueFamilyIndex})) { VkDeviceQueueCreateInfo queueCi = { .sType = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, |