diff options
Diffstat (limited to 'Swift/Controllers')
| -rw-r--r-- | Swift/Controllers/Chat/ChatsManager.cpp | 2 | ||||
| -rw-r--r-- | Swift/Controllers/HighlightManager.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp index be0af3e..e8b85c4 100644 --- a/Swift/Controllers/Chat/ChatsManager.cpp +++ b/Swift/Controllers/Chat/ChatsManager.cpp @@ -230,7 +230,7 @@ void ChatsManager::saveRecents() {      recentsLimited.erase(std::remove_if(recentsLimited.begin(), recentsLimited.end(), RemoveRecent::ifPrivateMessage), recentsLimited.end()); -    oa << recentsLimited; +    oa & recentsLimited;      std::string serializedStr = Base64::encode(createByteArray(serializeStream.str()));      profileSettings_->storeString(RECENT_CHATS, serializedStr);  } diff --git a/Swift/Controllers/HighlightManager.cpp b/Swift/Controllers/HighlightManager.cpp index fab0ac5..2afaf49 100644 --- a/Swift/Controllers/HighlightManager.cpp +++ b/Swift/Controllers/HighlightManager.cpp @@ -65,7 +65,7 @@ void HighlightManager::handleSettingChanged(const std::string& settingPath) {  std::string HighlightManager::rulesToString() const {      std::stringstream stream;      boost::archive::text_oarchive archive(stream); -    archive << rules_->list_; +    archive & rules_->list_;      return stream.str();  } | 
 Swift
 Swift