From 89ba59e24f62d4837590329f4cd2702c38ffc239 Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Fri, 11 Aug 2017 11:38:46 -0700 Subject: [PATCH] Add a temporary anonymous constructor to OperatorBAse --- paddle/framework/operator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/framework/operator.h b/paddle/framework/operator.h index 10034c58e..5f44972dd 100644 --- a/paddle/framework/operator.h +++ b/paddle/framework/operator.h @@ -63,6 +63,7 @@ class ExecutionContext; */ class OperatorBase { public: + OperatorBase() {} // TODO(yi): This constructor is to be removed. OperatorBase(const std::string& type, const std::vector& inputs, const std::vector& outputs, const AttributeMap& attrs, -- GitLab