diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Fourchan.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/Fourchan.cpp b/src/plugins/Fourchan.cpp index 22a3faf..42bb54e 100644 --- a/src/plugins/Fourchan.cpp +++ b/src/plugins/Fourchan.cpp @@ -291,6 +291,7 @@ namespace QuickMedia { comment_text.back() = ' '; html_unescape_sequences(comment_text); // TODO: Do the same when wrapping is implemented + // TODO: Remove this int num_lines = 0; for(size_t i = 0; i < comment_text.size(); ++i) { if(comment_text[i] == '\n') { @@ -348,7 +349,7 @@ namespace QuickMedia { std::lock_guard<std::mutex> lock(board_list_mutex); cached_thread_list_items.clear(); for(auto &body_item : body_items) { - cached_thread_list_items.push_back(std::make_unique<BodyItem>(*body_item)); + cached_thread_list_items.push_back(std::move(body_item)); } } |