mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-04 04:06:01 +00:00
ast::Literal constructor is explicit
Fixes a lint issue Change-Id: I98225fe5bf966c6fbf9b3b0c88e3d4dcc6a91cca Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/18041 Reviewed-by: dan sinclair <dsinclair@google.com>
This commit is contained in:
parent
a8bcec3ac1
commit
5556b4acdd
@ -61,7 +61,7 @@ class Literal {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
/// Constructor
|
/// Constructor
|
||||||
Literal(ast::type::Type* type);
|
explicit Literal(ast::type::Type* type);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ast::type::Type* type_ = nullptr;
|
ast::type::Type* type_ = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user