Closed GoogleCodeExporter closed 3 years ago
class mock_appframe : public mockcpp::ChainableMockObject mock_appframe* mock_appframe::Alloc(int iDataSize) { return invoke<mock_appframe*>("Alloc")(iDataSize); } error: cannot call member function `mockcpp::ChainableMockMethod<RT> mockcpp::ChainableMockObject::invoke(const std::string&) const [with RT = mock_appframe*]' without object
Original issue reported on code.google.com by liweihai...@gmail.com on 23 May 2009 at 2:38
liweihai...@gmail.com
I see. Method invoke can't be used in static method. How can i do?
Original comment by liweihai...@gmail.com on 23 May 2009 at 2:46
请用新版本尝试。
Original issue reported on code.google.com by
liweihai...@gmail.com
on 23 May 2009 at 2:38