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

fix build error with clang

上级 e3296559
...@@ -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.
先完成此消息的编辑!
想要评论请 注册