提交 e4708565 编写于 作者: W wanghaoshuang

Fix cpplint format.

上级 a0b25827
......@@ -24,7 +24,7 @@ limitations under the License. */
namespace paddle {
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) {
std::ifstream fin(filename, std::ios::in | std::ios::binary);
......
......@@ -25,7 +25,7 @@ limitations under the License. */
namespace paddle {
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,
const framework::ProgramDesc& main_program,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册