Apply some clang-tidy fixes (#5281)

This commit is contained in:
Ben Doherty
2022-03-02 11:43:51 -08:00
committed by GitHub
parent 95915367fa
commit bfd32e67d4
2 changed files with 2 additions and 1 deletions

View File

@@ -349,7 +349,7 @@ VulkanAttachment VulkanSwapChain::getColorAttachment() const {
}
VulkanAttachment VulkanSwapChain::getDepthAttachment() const {
VulkanTexture& tex = *this->mDepth.get();
VulkanTexture& tex = *this->mDepth;
return VulkanAttachment { .texture = &tex, .level = 0, .layer = 0 };
}

View File

@@ -18,6 +18,7 @@
#define TNT_UTILS_INVOKABLE_H
#include <type_traits>
#include <utility>
#include <assert.h>