fix build error with clang

release/0.10.0
qijun 8 years ago
parent e329655980
commit 486c6c555f

@ -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