Commit 6480643d by Ben Clayton

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: 's avatarAntonio Maiorano <amaiorano@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent cf8b658a
...@@ -48,7 +48,6 @@ enum class Kind ...@@ -48,7 +48,6 @@ enum class Kind
class Type class Type
{ {
public: public:
Type() = default;
inline Type(Kind kind); inline Type(Kind kind);
inline Type(Kind kind, const std::shared_ptr<const Type> &elem); inline Type(Kind kind, const std::shared_ptr<const Type> &elem);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment