summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/HighlightManager.cpp')
-rw-r--r--Swift/Controllers/HighlightManager.cpp2
1 files changed, 1 insertions, 1 deletions
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();
}