diff options
Diffstat (limited to 'Swiften/Queries/Responders/SoftwareVersionResponder.cpp')
-rw-r--r-- | Swiften/Queries/Responders/SoftwareVersionResponder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Queries/Responders/SoftwareVersionResponder.cpp b/Swiften/Queries/Responders/SoftwareVersionResponder.cpp index cc58114..0b8362c 100644 --- a/Swiften/Queries/Responders/SoftwareVersionResponder.cpp +++ b/Swiften/Queries/Responders/SoftwareVersionResponder.cpp @@ -12,12 +12,12 @@ namespace Swift { SoftwareVersionResponder::SoftwareVersionResponder(IQRouter* router) : GetResponder<SoftwareVersion>(router) { } -void SoftwareVersionResponder::setVersion(const String& client, const String& version) { +void SoftwareVersionResponder::setVersion(const std::string& client, const std::string& version) { this->client = client; this->version = version; } -bool SoftwareVersionResponder::handleGetRequest(const JID& from, const JID&, const String& id, boost::shared_ptr<SoftwareVersion>) { +bool SoftwareVersionResponder::handleGetRequest(const JID& from, const JID&, const std::string& id, boost::shared_ptr<SoftwareVersion>) { sendResponse(from, id, boost::shared_ptr<SoftwareVersion>(new SoftwareVersion(client, version))); return true; } |