Skip to content

Commit

Permalink
[bug] Fix: clang-tidy complaining explicit (#8109)
Browse files Browse the repository at this point in the history
  • Loading branch information
listerily authored May 31, 2023
1 parent 7555f30 commit d9373bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/ir/ir.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ class Block : public IRNode {
// variables, and AllocaStmt for other variables.
std::map<Identifier, Stmt *> local_var_to_stmt;

Block(Kernel *kernel = nullptr) {
explicit Block(Kernel *kernel = nullptr) {
parent_ = kernel;
}

Expand Down

0 comments on commit d9373bd

Please sign in to comment.