diff options
Diffstat (limited to 'Swiften/Roster/RosterMemoryStorage.cpp')
-rw-r--r-- | Swiften/Roster/RosterMemoryStorage.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Swiften/Roster/RosterMemoryStorage.cpp b/Swiften/Roster/RosterMemoryStorage.cpp index cbf4563..1b72a85 100644 --- a/Swiften/Roster/RosterMemoryStorage.cpp +++ b/Swiften/Roster/RosterMemoryStorage.cpp @@ -1,23 +1,23 @@ /* - * Copyright (c) 2011 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2011-2016 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #include <Swiften/Roster/RosterMemoryStorage.h> -#include <boost/smart_ptr/make_shared.hpp> +#include <memory> namespace Swift { RosterMemoryStorage::RosterMemoryStorage() { } -void RosterMemoryStorage::setRoster(boost::shared_ptr<RosterPayload> r) { - roster.reset(); - if (r) { - roster = boost::make_shared<RosterPayload>(*r); - } +void RosterMemoryStorage::setRoster(std::shared_ptr<RosterPayload> r) { + roster.reset(); + if (r) { + roster = std::make_shared<RosterPayload>(*r); + } } } |