Fix cpplint format.

intel-update-authors
wanghaoshuang 7 years ago
parent a0b258278e
commit e4708565f4

@ -24,7 +24,7 @@ limitations under the License. */
namespace paddle { namespace paddle {
namespace inference { namespace inference {
void Init(std::vector<std::string> &argv) { framework::Init(argv); } void Init(const std::vector<std::string> argv) { framework::Init(argv); }
void ReadBinaryFile(const std::string& filename, std::string* contents) { void ReadBinaryFile(const std::string& filename, std::string* contents) {
std::ifstream fin(filename, std::ios::in | std::ios::binary); std::ifstream fin(filename, std::ios::in | std::ios::binary);

@ -25,7 +25,7 @@ limitations under the License. */
namespace paddle { namespace paddle {
namespace inference { namespace inference {
void Init(std::vector<std::string> &argv); void Init(const std::vector<std::string> argv);
void LoadPersistables(framework::Executor* executor, framework::Scope* scope, void LoadPersistables(framework::Executor* executor, framework::Scope* scope,
const framework::ProgramDesc& main_program, const framework::ProgramDesc& main_program,

Loading…
Cancel
Save