commit | 6480643d669af9f75589316c43ba079db1158a60 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Apr 09 11:30:40 2020 +0100 |
committer | Ben Clayton <bclayton@google.com> | Thu Apr 09 14:38:47 2020 +0000 |
tree | a4aa75e9f3d8043656ac1f6994767b092ebed945 | |
parent | cf8b658a77fae68f4284bb1f1540dc544030200d [diff] |
Vulkan/Debug: Fix clang-10 warning It correctly points out that despite `Type() = default;`, there's non-assigned const fields, so there's no way to generate a default constructor. Bug: b/145351270 Change-Id: I1c680982d960df278b5fcca5b29e837a4c82b70d Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43709 Kokoro-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Tested-by: Ben Clayton <bclayton@google.com>
diff --git a/src/Vulkan/Debug/Type.hpp b/src/Vulkan/Debug/Type.hpp index 4b71a71..c3c3d4b 100644 --- a/src/Vulkan/Debug/Type.hpp +++ b/src/Vulkan/Debug/Type.hpp
@@ -48,7 +48,6 @@ class Type { public: - Type() = default; inline Type(Kind kind); inline Type(Kind kind, const std::shared_ptr<const Type> &elem);