diff options
Diffstat (limited to 'Swiften/Roster/RosterMemoryStorage.cpp')
-rw-r--r-- | Swiften/Roster/RosterMemoryStorage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Roster/RosterMemoryStorage.cpp b/Swiften/Roster/RosterMemoryStorage.cpp index abaac5e..f187116 100644 --- a/Swiften/Roster/RosterMemoryStorage.cpp +++ b/Swiften/Roster/RosterMemoryStorage.cpp @@ -14,10 +14,10 @@ RosterMemoryStorage::RosterMemoryStorage() { } void RosterMemoryStorage::setRoster(boost::shared_ptr<RosterPayload> r) { - roster.reset(); - if (r) { - roster = boost::make_shared<RosterPayload>(*r); - } + roster.reset(); + if (r) { + roster = boost::make_shared<RosterPayload>(*r); + } } } |