diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-13 13:52:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-13 13:52:30 (GMT) |
commit | 645876deedb72aa8ebd2a56773f7dd5bb0133b71 (patch) | |
tree | fe1820b9e5aebe5b8f69359a2f0ea1a8f4b9a71c /Swiften/Component | |
parent | 643999af94c4fede5e1348da91ad539235b9d60f (diff) | |
download | swift-contrib-645876deedb72aa8ebd2a56773f7dd5bb0133b71.zip swift-contrib-645876deedb72aa8ebd2a56773f7dd5bb0133b71.tar.bz2 |
Fixed some CppCheck warnings.
Diffstat (limited to 'Swiften/Component')
-rw-r--r-- | Swiften/Component/ComponentConnector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Component/ComponentConnector.h b/Swiften/Component/ComponentConnector.h index 34451d7..b47f5da 100644 --- a/Swiften/Component/ComponentConnector.h +++ b/Swiften/Component/ComponentConnector.h @@ -27,7 +27,7 @@ namespace Swift { typedef boost::shared_ptr<ComponentConnector> ref; static ComponentConnector::ref create(const std::string& hostname, int port, DomainNameResolver* resolver, ConnectionFactory* connectionFactory, TimerFactory* timerFactory) { - return ComponentConnector::ref(new ComponentConnector(hostname, port, resolver, connectionFactory, timerFactory)); + return ref(new ComponentConnector(hostname, port, resolver, connectionFactory, timerFactory)); } void setTimeoutMilliseconds(int milliseconds); |