Skip to content

Commit 6dddf58

Browse files
committed
test=release1.3
1 parent 78ab379 commit 6dddf58

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

paddle/fluid/framework/ir/graph.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ class Graph {
141141
ir::Node *CreateControlDepVar() {
142142
// TODO(panyx0718): control var name should be really unique.
143143
const std::string name = string::Sprintf(
144-
"%s@%llu", static_cast<const char *>(ir::Node::kControlDepVarName),
145-
node_set_.size());
144+
"%s@%llu", ir::Node::kControlDepVarName, node_set_.size());
146145
auto *x = AddNode(new ir::Node(name, ir::Node::Type::kVariable));
147146
x->SetId(num_node_created_++);
148147
return x;

0 commit comments

Comments
 (0)