提交 fb05a731 编写于 作者: Q QI JUN 提交者: GitHub

Merge pull request #1808 from QiJune/feature/fix_build_error_with_clang

fix build error with clang
......@@ -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.
先完成此消息的编辑!
想要评论请 注册