Commit bf61af2e authored by Dominik Charousset's avatar Dominik Charousset

Remove `move` on const variable

parent 20467c93
...@@ -148,7 +148,7 @@ public: ...@@ -148,7 +148,7 @@ public:
if (fetch_new_data(nullptr)) { if (fetch_new_data(nullptr)) {
clear_cached_elements(f); clear_cached_elements(f);
} }
cache_.clear(std::move(f)); cache_.clear(f);
} }
single_reader_queue() : head_(nullptr) { single_reader_queue() : head_(nullptr) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment