提交 9a16327b 编写于 作者: D dongzhihong

"remove const qualify"

上级 11f9f5fb
...@@ -71,7 +71,7 @@ class PlainNet : public Net { ...@@ -71,7 +71,7 @@ class PlainNet : public Net {
* will be used. * will be used.
*/ */
void Run(const std::shared_ptr<Scope>& scope, void Run(const std::shared_ptr<Scope>& scope,
const platform::DeviceContext& dev_ctx) const override { platform::DeviceContext& dev_ctx) const override {
for (auto& op : ops_) { for (auto& op : ops_) {
op->Run(scope, dev_ctx); op->Run(scope, dev_ctx);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册