From 9a16327b15cc5c094a3f6373e6bc089d26ee5b00 Mon Sep 17 00:00:00 2001 From: dongzhihong Date: Wed, 26 Jul 2017 00:44:42 +0800 Subject: [PATCH] "remove const qualify" --- paddle/framework/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/framework/net.h b/paddle/framework/net.h index 3264f1f565..d3e3e80d5b 100644 --- a/paddle/framework/net.h +++ b/paddle/framework/net.h @@ -71,7 +71,7 @@ class PlainNet : public Net { * will be used. */ void Run(const std::shared_ptr& scope, - const platform::DeviceContext& dev_ctx) const override { + platform::DeviceContext& dev_ctx) const override { for (auto& op : ops_) { op->Run(scope, dev_ctx); } -- GitLab