diff --git a/paddle/fluid/operators/gen_nccl_id_op.cc b/paddle/fluid/operators/gen_nccl_id_op.cc
index e75e045fcb854fd66332b4c3be3275a24fc9ad07..235995aeb429e4928ebd5e4e0452b56ce8b92de3 100644
--- a/paddle/fluid/operators/gen_nccl_id_op.cc
+++ b/paddle/fluid/operators/gen_nccl_id_op.cc
@@ -92,7 +92,7 @@ class GenNCCLIdOp : public framework::OperatorBase {
 class GenNCCLIdOpMaker : public framework::OpProtoAndCheckerMaker {
  public:
   GenNCCLIdOpMaker(OpProto* proto, OpAttrChecker* op_checker)
-      : GenNCCLIdOpMaker(proto, op_checker) {
+      : OpProtoAndCheckerMaker(proto, op_checker) {
     AddOutput("NCCLID", "Raw variable contains a NCCL UniqueId instaces.");
     AddComment(R"DOC(
 GenNCCLId operator