提交 486c6c55 编写于 作者: Q qijun

fix build error with clang

上级 e3296559
......@@ -134,9 +134,7 @@ public:
backward(callback);
}
virtual Argument getLayerOutput(const std::string& layerName) {
return *((Argument*)nullptr);
}
virtual Argument getLayerOutput(const std::string& layerName) = 0;
// see comment in Layer.h for the function with the same name
virtual void resetState() {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册