Merge pull request from QiJune/feature/fix_build_error_with_clang

fix build error with clang
release/0.10.0 v0.10.0rc4
QI JUN 8 years ago committed by GitHub
commit fb05a73186

@ -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() {}

Loading…
Cancel
Save