output/httpd: use emplace() instead of push()
This commit is contained in:
parent
452666f742
commit
512e81c629
@ -348,7 +348,7 @@ HttpdOutput::BroadcastFromEncoder()
|
||||
PagePtr page;
|
||||
while ((page = ReadPage()) != nullptr) {
|
||||
const std::lock_guard<Mutex> lock(mutex);
|
||||
pages.push(std::move(page));
|
||||
pages.emplace(std::move(page));
|
||||
empty = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user