// GMock currently doesn't support move-only arguments, so we have
// to use this hack here.
MOCK_METHOD1(SendStanzaPtr, bool(buzz::XmlElement* stanza));
- virtual bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) OVERRIDE {
+ virtual bool SendStanza(scoped_ptr<buzz::XmlElement> stanza) override {
return SendStanzaPtr(stanza.release());
}
};