Skip to content

Commit e762d85

Browse files
committed
clean
1 parent 0904f07 commit e762d85

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

paddle/fluid/framework/program_desc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ proto::ProgramDesc *ProgramDesc::Proto() {
3939
return &desc_;
4040
}
4141

42-
int ProgramDesc::Version() const { return desc_.version().version(); }
42+
int64_t ProgramDesc::Version() const { return desc_.version().version(); }
4343

4444
ProgramDesc::ProgramDesc() {
4545
desc_.mutable_version()->set_version(kCurProgramVersion);

paddle/fluid/framework/program_desc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ProgramDesc {
5757

5858
proto::ProgramDesc *Proto();
5959

60-
int Version() const;
60+
int64_t Version() const;
6161

6262
// The output variable of feed_op is referenced as feed_target.
6363
// This function is used to collect the output variable's name of all

paddle/fluid/framework/version.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
1+
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

paddle/fluid/framework/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
1+
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
22
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)