Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shentanyue committed Feb 27, 2023
1 parent 1a5886d commit 9621aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lite/model_parser/model_parser_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ TEST(ModelParser, LoadModelNaiveFromMemory) {

auto model_path = std::string(FLAGS_model_dir) + ".saved.nb";
std::string model_buffer = lite::ReadFile(model_path);
LoadModelNaiveFromMemory(model_buffer, &scope, &prog);
LoadModelNaiveFromMemory(model_buffer.c_str(), &scope, &prog);
}

} // namespace lite
Expand Down

0 comments on commit 9621aef

Please sign in to comment.