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