diff --git a/include/Swiften/Server/ServerFromClientSession.h b/include/Swiften/Server/ServerFromClientSession.h index 4496bdf1465b808bbbdc8d45468d10a66b1e8ca1..d78fedaaaa8c379e6b1963550f8f74a97f9e6637 100644 --- a/include/Swiften/Server/ServerFromClientSession.h +++ b/include/Swiften/Server/ServerFromClientSession.h @@ -7,8 +7,8 @@ #pragma once #include -#include #include +#include #include #include @@ -19,6 +19,8 @@ #include #define HAVE_SWIFTEN_3 (SWIFTEN_VERSION >= 0x030000) +#include "Swiften/SwiftenCompat.h" + namespace Swift { class ProtocolHeader; class Element; @@ -38,7 +40,7 @@ namespace Swift { public: ServerFromClientSession( const std::string& id, - boost::shared_ptr connection, + SWIFTEN_SHRPTR_NAMESPACE::shared_ptr connection, PayloadParserFactoryCollection* payloadParserFactories, PayloadSerializerCollection* payloadSerializers, UserRegistry* userRegistry, @@ -63,9 +65,9 @@ namespace Swift { private: #if HAVE_SWIFTEN_3 - void handleElement(boost::shared_ptr); + void handleElement(SWIFTEN_SHRPTR_NAMESPACE::shared_ptr); #else - void handleElement(boost::shared_ptr); + void handleElement(SWIFTEN_SHRPTR_NAMESPACE::shared_ptr); #endif void handleStreamStart(const ProtocolHeader& header); void handleSessionFinished(const boost::optional&);