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:
David Neto 2020-03-28 00:44:50 +00:00 committed by dan sinclair
parent a8bcec3ac1
commit 5556b4acdd
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class Literal {
protected:
/// Constructor
Literal(ast::type::Type* type);
explicit Literal(ast::type::Type* type);
private:
ast::type::Type* type_ = nullptr;